public final class DefaultIBMOAuthIAMHttpSigner extends Object implements IBMOAuthSigner
IBMOAuthSigner that uses properties to compose IAM-signers in order to delegate signing of a
request and payload (if applicable) accordingly.SIGNING_CLOCK| Constructor and Description |
|---|
DefaultIBMOAuthIAMHttpSigner() |
| Modifier and Type | Method and Description |
|---|---|
SignedRequest |
sign(SignRequest<? extends IBMOAuthIdentity> request)
Method that takes in inputs to sign a request with sync payload and returns a signed version of the request.
|
CompletableFuture<AsyncSignedRequest> |
signAsync(AsyncSignRequest<? extends IBMOAuthIdentity> request)
Method that takes in inputs to sign a request with async payload and returns a future containing the signed version of the
request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatedoNotSign, sign, signAsyncpublic SignedRequest sign(SignRequest<? extends IBMOAuthIdentity> request)
HttpSignersign in interface HttpSigner<IBMOAuthIdentity>request - The inputs to sign a request.public CompletableFuture<AsyncSignedRequest> signAsync(AsyncSignRequest<? extends IBMOAuthIdentity> request)
HttpSignersignAsync in interface HttpSigner<IBMOAuthIdentity>request - The inputs to sign a request.Copyright © 2026. All rights reserved.