PopTokenAuthenticationPolicy.AuthorizeRequestOnChallengeAsync 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.
protected virtual System.Threading.Tasks.ValueTask<bool> AuthorizeRequestOnChallengeAsync (Azure.Core.HttpMessage message);
abstract member AuthorizeRequestOnChallengeAsync : Azure.Core.HttpMessage -> System.Threading.Tasks.ValueTask<bool>
override this.AuthorizeRequestOnChallengeAsync : Azure.Core.HttpMessage -> System.Threading.Tasks.ValueTask<bool>
Protected Overridable Function AuthorizeRequestOnChallengeAsync (message As HttpMessage) As ValueTask(Of 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
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per