Skip to content

resolveToken

const resolveToken: TokenResolver

Defined in: plugins/holocron-plugin-netlify/src/auth.ts:7

Resolves the Netlify token from --token, HOLOCRON_NETLIFY_TOKEN, NETLIFY_AUTH_TOKEN or the keyring entry for netlify, and throws AuthError when none is set.