BearerTokenAuthenticationPolicy.AuthorizeRequest(HttpMessage) 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.
Executes before ProcessAsync(HttpMessage, ReadOnlyMemory<HttpPipelinePolicy>) or Process(HttpMessage, ReadOnlyMemory<HttpPipelinePolicy>) is called. Implementers of this method are expected to call AuthenticateAndAuthorizeRequest(HttpMessage, TokenRequestContext) or AuthenticateAndAuthorizeRequestAsync(HttpMessage, TokenRequestContext) if authorization is required for requests not related to handling a challenge response.
protected virtual void AuthorizeRequest (Azure.Core.HttpMessage message);
abstract member AuthorizeRequest : Azure.Core.HttpMessage -> unit
override this.AuthorizeRequest : Azure.Core.HttpMessage -> unit
Protected Overridable Sub AuthorizeRequest (message As HttpMessage)
Parameters
- message
- HttpMessage
The HttpMessage this policy would be applied to.