Class SsoOidcTokenProvider
java.lang.Object
software.amazon.awssdk.services.ssooidc.SsoOidcTokenProvider
- All Implemented Interfaces:
AutoCloseable,SdkTokenProvider,IdentityProvider<TokenIdentity>,SdkAutoCloseable
@SdkPublicApi
@ThreadSafe
public final class SsoOidcTokenProvider
extends Object
implements SdkTokenProvider, SdkAutoCloseable
Implementation of
SdkTokenProvider that is capable of loading and
storing SSO tokens to ~/.aws/sso/cache. This is also capable of
refreshing the cached token via the SSO-OIDC service.-
Nested Class Summary
Nested Classes -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.identity.spi.IdentityProvider
resolveIdentity, resolveIdentityMethods inherited from interface software.amazon.awssdk.auth.token.credentials.SdkTokenProvider
identityType, resolveIdentity
-
Method Details
-
resolveToken
- Specified by:
resolveTokenin interfaceSdkTokenProvider
-
builder
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSdkAutoCloseable
-