Class PopTokenAuthenticationPolicy

java.lang.Object
com.azure.core.experimental.credential.PopTokenAuthenticationPolicy
All Implemented Interfaces:
HttpPipelinePolicy

public class PopTokenAuthenticationPolicy extends Object implements HttpPipelinePolicy
The Pop token authentication policy for use with Azure SDK clients.
  • Constructor Details

    • PopTokenAuthenticationPolicy

      public PopTokenAuthenticationPolicy(TokenCredential credential, String... scopes)
      Creates a new instance of the PopTokenAuthenticationPolicy.
      Parameters:
      credential - The credential to use for authentication.
      scopes - The scopes required for the token.
  • Method Details