Class RefreshTokenTokenCredentialManager.RefreshTokenCredential
- java.lang.Object
-
- com.microsoft.azure.toolkit.lib.auth.RefreshTokenTokenCredentialManager.RefreshTokenCredential
-
- All Implemented Interfaces:
com.azure.core.credential.TokenCredential
- Enclosing class:
- RefreshTokenTokenCredentialManager
static class RefreshTokenTokenCredentialManager.RefreshTokenCredential extends Object implements com.azure.core.credential.TokenCredential
-
-
Constructor Summary
Constructors Constructor Description RefreshTokenCredential()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private com.azure.core.credential.AccessTokenauthenticate(String resource)private com.azure.core.credential.AccessTokenfromAuthenticationResult(com.microsoft.aad.adal4j.AuthenticationResult authenticationResult)reactor.core.publisher.Mono<com.azure.core.credential.AccessToken>getToken(com.azure.core.credential.TokenRequestContext context)
-
-
-
Method Detail
-
getToken
public reactor.core.publisher.Mono<com.azure.core.credential.AccessToken> getToken(com.azure.core.credential.TokenRequestContext context)
- Specified by:
getTokenin interfacecom.azure.core.credential.TokenCredential
-
authenticate
private com.azure.core.credential.AccessToken authenticate(String resource)
-
fromAuthenticationResult
private com.azure.core.credential.AccessToken fromAuthenticationResult(com.microsoft.aad.adal4j.AuthenticationResult authenticationResult)
-
-