Class ClientAssertionCredential

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

public class ClientAssertionCredential extends Object implements com.azure.core.credential.TokenCredential
Authenticates a service principal with AAD using a client assertion.
  • 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
    • getTokenSync

      public com.azure.core.credential.AccessToken getTokenSync(com.azure.core.credential.TokenRequestContext request)
      Specified by:
      getTokenSync in interface com.azure.core.credential.TokenCredential