BearerTokenAuthenticationPolicy.AuthorizeRequestOnChallenge Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executed in the event a 401 response with a WWW-Authenticate authentication challenge header is received after the initial request. The default implementation will attempt to handle Continuous Access Evaluation (CAE) claims challenges.
protected virtual bool AuthorizeRequestOnChallenge (Azure.Core.HttpMessage message);
abstract member AuthorizeRequestOnChallenge : Azure.Core.HttpMessage -> bool
override this.AuthorizeRequestOnChallenge : Azure.Core.HttpMessage -> bool
Protected Overridable Function AuthorizeRequestOnChallenge (message As HttpMessage) As Boolean
Parameters
- message
- HttpMessage
The HttpMessage to be authenticated.
Returns
A boolean indicating whether the request was successfully authenticated and should be sent to the transport.
Remarks
Service client libraries may override this to handle service specific authentication challenges.
Applies to
Azure SDK for .NET