BearerTokenAuthenticationPolicyOptions interface
Options to configure the bearerTokenAuthenticationPolicy
Properties
challenge |
Allows for the processing of Continuous Access Evaluation challenges.
If provided, it must contain at least the |
credential | The TokenCredential implementation that can supply the bearer token. |
logger | A logger can be sent for debugging purposes. |
scopes | The scopes for which the bearer token applies. |
Property Details
challengeCallbacks
Allows for the processing of Continuous Access Evaluation challenges.
If provided, it must contain at least the authorizeRequestOnChallenge
method.
If provided, after a request is sent, if it has a challenge, it can be processed to re-send the original request with the relevant challenge information.
challengeCallbacks?: ChallengeCallbacks
Property Value
credential
The TokenCredential implementation that can supply the bearer token.
credential?: TokenCredential
Property Value
logger
scopes
The scopes for which the bearer token applies.
scopes: string | string[]
Property Value
string | string[]