@NotThreadSafe public static final class StsGetFederationTokenCredentialsProvider.Builder extends StsCredentialsProvider.BaseBuilder<StsGetFederationTokenCredentialsProvider.Builder,StsGetFederationTokenCredentialsProvider>
StsGetFederationTokenCredentialsProvider.builder()
) for creating a
StsGetFederationTokenCredentialsProvider
.Modifier and Type | Method and Description |
---|---|
StsGetFederationTokenCredentialsProvider.Builder |
refreshRequest(GetFederationTokenRequest getFederationTokenRequest)
Configure the
GetFederationTokenRequest that should be periodically sent to the STS service to update the
session token when it gets close to expiring. |
asyncCredentialUpdateEnabled, build, stsClient
public StsGetFederationTokenCredentialsProvider.Builder refreshRequest(GetFederationTokenRequest getFederationTokenRequest)
GetFederationTokenRequest
that should be periodically sent to the STS service to update the
session token when it gets close to expiring.getFederationTokenRequest
- The request to send to STS whenever the assumed session expires.Copyright © 2017. All rights reserved.