@FunctionalInterface public interface SdkTokenProvider extends IdentityProvider<TokenIdentity>
SdkToken that are used for authentication.| Modifier and Type | Method and Description |
|---|---|
default Class<TokenIdentity> |
identityType()
Retrieve the class of identity this identity provider produces.
|
default CompletableFuture<TokenIdentity> |
resolveIdentity(ResolveIdentityRequest request)
Resolve the identity from this identity provider.
|
SdkToken |
resolveToken()
Returns an
SdkToken that can be used to authorize a request. |
resolveIdentity, resolveIdentitySdkToken resolveToken()
SdkToken that can be used to authorize a request. Each implementation of SdkTokenProvider
can choose its own strategy for loading token. For example, an implementation might load token from an existing
key management system, or load new token when token is refreshed.default Class<TokenIdentity> identityType()
IdentityProvideridentityType in interface IdentityProvider<TokenIdentity>default CompletableFuture<TokenIdentity> resolveIdentity(ResolveIdentityRequest request)
IdentityProviderresolveIdentity in interface IdentityProvider<TokenIdentity>request - The request to resolve an IdentityCopyright © 2026. All rights reserved.