Class BearerTokenSigner
- java.lang.Object
-
- software.amazon.awssdk.auth.token.signer.aws.BearerTokenSigner
-
- All Implemented Interfaces:
Signer
@Deprecated public final class BearerTokenSigner extends Object implements Signer
Deprecated.Usesoftware.amazon.awssdk.http.auth.signer.BearerHttpSignerfrom the 'http-auth' module.ASignerthat will sign a request with Bearer token authorization.
-
-
Constructor Summary
Constructors Constructor Description BearerTokenSigner()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BearerTokenSignercreate()Deprecated.CredentialTypecredentialType()Deprecated.SdkHttpFullRequestsign(SdkHttpFullRequest request, TokenSignerParams signerParams)Deprecated.Signs the request by adding an 'Authorization' header containing the string value of the token in accordance with RFC 6750, section 2.1.SdkHttpFullRequestsign(SdkHttpFullRequest request, ExecutionAttributes executionAttributes)Deprecated.Signs the request by adding an 'Authorization' header containing the string value of the token in accordance with RFC 6750, section 2.1.
-
-
-
Method Detail
-
create
public static BearerTokenSigner create()
Deprecated.
-
credentialType
public CredentialType credentialType()
Deprecated.- Specified by:
credentialTypein interfaceSigner
-
sign
public SdkHttpFullRequest sign(SdkHttpFullRequest request, TokenSignerParams signerParams)
Deprecated.Signs the request by adding an 'Authorization' header containing the string value of the token in accordance with RFC 6750, section 2.1.- Parameters:
request- The request to signsignerParams- Contains the attributes required for signing the request- Returns:
- The signed request.
-
sign
public SdkHttpFullRequest sign(SdkHttpFullRequest request, ExecutionAttributes executionAttributes)
Deprecated.Signs the request by adding an 'Authorization' header containing the string value of the token in accordance with RFC 6750, section 2.1.
-
-