Package com.azure.identity
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 Summary
Modifier and TypeMethodDescriptionMono<com.azure.core.credential.AccessToken>
getToken
(com.azure.core.credential.TokenRequestContext request) com.azure.core.credential.AccessToken
getTokenSync
(com.azure.core.credential.TokenRequestContext request)
-
Method Details
-
getToken
public Mono<com.azure.core.credential.AccessToken> getToken(com.azure.core.credential.TokenRequestContext request) - Specified by:
getToken
in interfacecom.azure.core.credential.TokenCredential
-
getTokenSync
public com.azure.core.credential.AccessToken getTokenSync(com.azure.core.credential.TokenRequestContext request) - Specified by:
getTokenSync
in interfacecom.azure.core.credential.TokenCredential
-