Provides a RequestPolicy that can request a token from a TokenCredential implementation and then apply it to the Authorization header of a request as a Bearer token.
Creates a new ChallengeBasedAuthenticationPolicy object.
The next RequestPolicy in the request pipeline.
Options for this RequestPolicy.
The TokenCredential implementation that can supply the bearer token.
The cache for the most recent AccessToken returned by the TokenCredential.
Applies the Bearer token to the request through the Authorization header.
Ongoing HTTP request.
Generated using TypeDoc