Class DefaultBearerHttpSigner
- java.lang.Object
-
- software.amazon.awssdk.http.auth.internal.signer.DefaultBearerHttpSigner
-
- All Implemented Interfaces:
BearerHttpSigner,HttpSigner<TokenIdentity>
@SdkInternalApi public final class DefaultBearerHttpSigner extends Object implements BearerHttpSigner
A default implementation ofBearerHttpSigner.
-
-
Field Summary
-
Fields inherited from interface software.amazon.awssdk.http.auth.spi.signer.HttpSigner
SIGNING_CLOCK
-
-
Constructor Summary
Constructors Constructor Description DefaultBearerHttpSigner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignedRequestsign(SignRequest<? extends TokenIdentity> request)CompletableFuture<AsyncSignedRequest>signAsync(AsyncSignRequest<? extends TokenIdentity> request)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.http.auth.spi.signer.HttpSigner
doNotSign, sign, signAsync
-
-
-
-
Method Detail
-
sign
public SignedRequest sign(SignRequest<? extends TokenIdentity> request)
- Specified by:
signin interfaceHttpSigner<TokenIdentity>
-
signAsync
public CompletableFuture<AsyncSignedRequest> signAsync(AsyncSignRequest<? extends TokenIdentity> request)
- Specified by:
signAsyncin interfaceHttpSigner<TokenIdentity>
-
-