Skip to content

verifyToken

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

Defined in: plugins/holocron-plugin-netlify/src/verify-token.ts:23

Checks a Netlify token by fetching the current user and reports who it belongs to, or why it was rejected.

string

VerifyTokenOptions = {}

Promise<VerifyTokenResult>