| Package | Description |
|---|---|
| software.amazon.awssdk.awscore.internal.token |
| Modifier and Type | Method and Description |
|---|---|
CachedTokenRefresher.Builder |
CachedTokenRefresher.Builder.asyncRefreshEnabled(Boolean asyncRefreshEnabled)
Configure whether this refresher should fetch tokens asynchronously in the background.
|
static CachedTokenRefresher.Builder |
CachedTokenRefresher.builder()
Builder method to construct instance of CachedTokenRefresher.
|
CachedTokenRefresher.Builder |
CachedTokenRefresher.Builder.exceptionHandler(Function<SdkException,TokenT> exceptionHandler) |
CachedTokenRefresher.Builder |
CachedTokenRefresher.Builder.prefetchTime(Duration prefetchTime)
Configure the amount of time, relative to SSO session token expiration, that the cached credentials are considered
close to stale and should be updated.
|
CachedTokenRefresher.Builder |
CachedTokenRefresher.Builder.staleDuration(Duration staleDuration) |
CachedTokenRefresher.Builder |
CachedTokenRefresher.Builder.tokenRetriever(Supplier<TokenT> tokenRetriever) |
Copyright © 2023. All rights reserved.