ChallengeCallbacks interface
Options to override the processing of Continuous Access Evaluation challenges.
Methods
authorize |
Allows for the authorization of the main request of this policy before it's sent. |
authorize |
Allows to handle authentication challenges and to re-authorize the request.
The response containing the challenge is |
Method Details
authorizeRequest(AuthorizeRequestOptions)
Allows for the authorization of the main request of this policy before it's sent.
function authorizeRequest(options: AuthorizeRequestOptions): Promise<void>
Parameters
- options
- AuthorizeRequestOptions
Returns
Promise<void>
authorizeRequestOnChallenge(AuthorizeRequestOnChallengeOptions)
Allows to handle authentication challenges and to re-authorize the request.
The response containing the challenge is options.response
.
If this method returns true, the underlying request will be sent once again.
The request may be modified before being sent.
function authorizeRequestOnChallenge(options: AuthorizeRequestOnChallengeOptions): Promise<boolean>
Parameters
Returns
Promise<boolean>