Class AuthorizationCodeCredential

java.lang.Object
com.azure.identity.AuthorizationCodeCredential
All Implemented Interfaces:
com.azure.core.credential.TokenCredential

public class AuthorizationCodeCredential extends Object implements com.azure.core.credential.TokenCredential
An AAD credential that acquires a token with an Oauth 2.0 authorization code grant for an AAD application.
  • Method Details

    • getToken

      public Mono<com.azure.core.credential.AccessToken> getToken(com.azure.core.credential.TokenRequestContext request)
      Specified by:
      getToken in interface com.azure.core.credential.TokenCredential