Class BearerTokenSigner
java.lang.Object
software.amazon.awssdk.auth.token.signer.aws.BearerTokenSigner
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
BearerTokenSignerpublic BearerTokenSigner()Deprecated.
 
- 
- 
Method Details- 
createDeprecated.
- 
credentialTypeDeprecated.Description copied from interface:SignerMethod that retrievesCredentialTypei.e. the type of Credentials used by the Signer while authorizing a request.- Specified by:
- credentialTypein interface- Signer
- Returns:
- null by default else return CredentialTypeas defined by the signer implementation.
 
- 
signDeprecated.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 sign
- signerParams- Contains the attributes required for signing the request
- Returns:
- The signed request.
 
- 
signDeprecated.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.