Uses of Class
com.azure.core.credential.AccessToken
Packages that use AccessToken
Package
Description
Package containing basic credential classes for authentication purposes.
-
Uses of AccessToken in com.azure.core.credential
Methods in com.azure.core.credential that return AccessTokenModifier and TypeMethodDescriptiondefault AccessTokenTokenCredential.getTokenSync(TokenRequestContext request) Synchronously get a token for a given resource/audience.Methods in com.azure.core.credential that return types with arguments of type AccessTokenModifier and TypeMethodDescriptionBasicAuthenticationCredential.getToken(TokenRequestContext request) SimpleTokenCache.getToken()Asynchronously get a token from either the cache or replenish the cache with a new token.TokenCredential.getToken(TokenRequestContext request) Asynchronously get a token for a given resource/audience.Constructor parameters in com.azure.core.credential with type arguments of type AccessTokenModifierConstructorDescriptionSimpleTokenCache(Supplier<Mono<AccessToken>> tokenSupplier) Creates an instance of RefreshableTokenCredential with default scheme "Bearer".