Class BearerTokenSigner
java.lang.Object
software.amazon.awssdk.auth.token.signer.aws.BearerTokenSigner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BearerTokenSignercreate()Deprecated.Deprecated.Method that retrievesCredentialTypei.e.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.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.
-
Constructor Details
-
BearerTokenSigner
public BearerTokenSigner()Deprecated.
-
-
Method Details
-
create
Deprecated. -
credentialType
Deprecated.Description copied from interface:SignerMethod that retrievesCredentialTypei.e. the type of Credentials used by the Signer while authorizing a request.- Specified by:
credentialTypein interfaceSigner- Returns:
- null by default else return
CredentialTypeas defined by the signer implementation.
-
sign
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
Deprecated.Signs the request by adding an 'Authorization' header containing the string value of the token in accordance with RFC 6750, section 2.1.
-
software.amazon.awssdk.http.auth.signer.BearerHttpSignerfrom the 'http-auth' module.