Class 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
    • Field Detail

      • authority

        private final String authority
      • clientId

        private final String clientId
      • tenantId

        private final String tenantId
      • refreshToken

        private final String refreshToken
    • Constructor Detail

      • RefreshTokenCredential

        RefreshTokenCredential()
    • Method Detail

      • getToken

        public reactor.core.publisher.Mono<com.azure.core.credential.AccessToken> getToken​(com.azure.core.credential.TokenRequestContext context)
        Specified by:
        getToken in interface com.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)