Skip to content

verifyToken

verifyToken(token, opts?): Promise<VerifyTokenResult>

Defined in: plugins/holocron-plugin-cloudflare/src/verify-token.ts:12

Checks a Cloudflare API token, first by the token-verify endpoint and otherwise by listing zones; resolves to a description of what it found, or the failure message.

string

VerifyTokenOptions = {}

Promise<VerifyTokenResult>