OAuth2BearerTokenAuthenticationPolicy Class
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.
A PipelinePolicy that uses an AuthenticationTokenProvider to authenticate requests.
public class OAuth2BearerTokenAuthenticationPolicy : System.ClientModel.Primitives.PipelinePolicy
type OAuth2BearerTokenAuthenticationPolicy = class
inherit PipelinePolicy
Public Class OAuth2BearerTokenAuthenticationPolicy
Inherits PipelinePolicy
- Inheritance
Constructors
| OAuth2BearerTokenAuthenticationPolicy(AuthenticationTokenProvider, IEnumerable<IReadOnlyDictionary<String,Object>>) |
Methods
| Process(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32) |
Process the provided PipelineMessage according to the intended purpose of this PipelinePolicyinstance. Derived types must pass control to the next PipelinePolicy in the pipeline by calling ProcessNext(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32). |
| ProcessAsync(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32) |
Process the provided PipelineMessage according to the intended purpose of this PipelinePolicyinstance. Derived types must pass control to the next PipelinePolicy in the pipeline by calling ProcessNextAsync(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32). |