Class BearerTokenSigner
- java.lang.Object
-
- software.amazon.awssdk.auth.token.signer.aws.BearerTokenSigner
-
-
Constructor Summary
Constructors Constructor Description BearerTokenSigner()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BearerTokenSigner
create()
CredentialType
credentialType()
SdkHttpFullRequest
sign(SdkHttpFullRequest request, TokenSignerParams signerParams)
Signs the request by adding an 'Authorization' header containing the string value of the token in accordance with RFC 6750, section 2.1.SdkHttpFullRequest
sign(SdkHttpFullRequest request, ExecutionAttributes executionAttributes)
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()
-
credentialType
public CredentialType credentialType()
- Specified by:
credentialType
in interfaceSigner
-
sign
public SdkHttpFullRequest sign(SdkHttpFullRequest request, TokenSignerParams signerParams)
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)
Signs the request by adding an 'Authorization' header containing the string value of the token in accordance with RFC 6750, section 2.1.
-
-