Interface: VerifyOptions
Options for verifyBotToken.
Properties
Section titled “Properties”appId:
string
The bot’s app id; the ONLY audience an inbound token may carry.
appTenantId?
Section titled “appTenantId?”
optionalappTenantId?:string
Tenant of a single-tenant bot, whose own issuer is then also accepted.
metadataUrl?
Section titled “metadataUrl?”
optionalmetadataUrl?:string
OpenID metadata document naming the signing key set. Defaults to BOT_OPENID_METADATA; override for a sovereign cloud.
signal?
Section titled “signal?”
optionalsignal?:AbortSignal
Cancels the metadata / JWKS fetch with the request.