public class DelegateTokenProvider extends Object implements TokenProvider
| Modifier and Type | Field and Description |
|---|---|
protected static InternalLogApi |
log |
| Constructor and Description |
|---|
DelegateTokenProvider(String apiKey)
Default implementation will use the apiKey to retrieve the Token from the
IAM Service
|
| Modifier and Type | Method and Description |
|---|---|
Token |
retrieveToken()
Retrieve the delegate token using the Apache httpclient in a synchronous manner
|
void |
setHttpClientSettings(HttpClientSettings httpClientSettings)
Apply http Settings when available to match those set on the s3Client.
|
DelegateTokenProvider |
withIamEndpoint(String iamEndpoint) |
DelegateTokenProvider |
withReceiverClientId(String receiverClientId) |
protected static final InternalLogApi log
public DelegateTokenProvider(String apiKey)
apiKey - The IBM apiKeypublic void setHttpClientSettings(HttpClientSettings httpClientSettings)
httpClientSettings - public DelegateTokenProvider withIamEndpoint(String iamEndpoint)
public DelegateTokenProvider withReceiverClientId(String receiverClientId)
public Token retrieveToken()
retrieveToken in interface TokenProviderToken
The IAM TokenCopyright © 2025. All rights reserved.