Class BearerTokenSigner
java.lang.Object
software.amazon.awssdk.auth.token.signer.aws.BearerTokenSigner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BearerTokenSigner
create()
Deprecated.Deprecated.Method that retrievesCredentialType
i.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:Signer
Method that retrievesCredentialType
i.e. the type of Credentials used by the Signer while authorizing a request.- Specified by:
credentialType
in interfaceSigner
- Returns:
- null by default else return
CredentialType
as 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.BearerHttpSigner
from the 'http-auth' module.