public class IBMOAuthSigner extends AbstractAWSSigner
| Modifier and Type | Field and Description |
|---|---|
protected static InternalLogApi |
log |
EMPTY_STRING_SHA256_HEX| Constructor and Description |
|---|
IBMOAuthSigner()
Default public constructor
|
IBMOAuthSigner(ClientConfiguration clientConfiguration)
Public constructor to accept clientconfiguration parameter, which is then passed
through to DefaultTokenManager and used for proxy config on IAM calls for token retrieval
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSessionCredentials(SignableRequest<?> request,
AWSSessionCredentials credentials)
Adds session credentials to the request given.
|
void |
sign(SignableRequest<?> request,
AWSCredentials credentials)
Sign the given request with the given set of credentials.
|
getBinaryRequestPayload, getBinaryRequestPayloadStream, getBinaryRequestPayloadStreamWithoutQueryParams, getBinaryRequestPayloadWithoutQueryParams, getCanonicalizedEndpoint, getCanonicalizedQueryString, getCanonicalizedQueryString, getCanonicalizedResourcePath, getCanonicalizedResourcePath, getRequestPayload, getRequestPayloadWithoutQueryParams, getSignatureDate, getTimeOffset, hash, hash, hash, newString, sanitizeCredentials, sign, sign, signAndBase64Encode, signAndBase64Encode, signWithMacprotected static final InternalLogApi log
public IBMOAuthSigner(ClientConfiguration clientConfiguration)
clientConfiguration - This config is used in IAM token retrieval to determine if request should go through a proxypublic IBMOAuthSigner()
public void sign(SignableRequest<?> request, AWSCredentials credentials)
Signerrequest - The request to sign.credentials - The credentials to sign the request with.protected void addSessionCredentials(SignableRequest<?> request, AWSSessionCredentials credentials)
AbstractAWSSigneraddSessionCredentials in class AbstractAWSSignerrequest - The request to add session credentials information tocredentials - The session credentials to add to the requestCopyright © 2025. All rights reserved.