Skip to content

resolveToken

const resolveToken: TokenResolver

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

Resolves the Slack bot token from --token, HOLOCRON_SLACK_TOKEN, SLACK_BOT_TOKEN or the keyring entry for slack, and throws AuthError when none is set.