Class BearerTokenSigner

  • All Implemented Interfaces:
    Signer

    @SdkPublicApi
    @Deprecated
    public final class BearerTokenSigner
    extends Object
    implements Signer
    Deprecated.
    Use software.amazon.awssdk.http.auth.signer.BearerHttpSigner from the 'http-auth' module.
    A Signer that will sign a request with Bearer token authorization.
    • Constructor Detail

      • BearerTokenSigner

        public BearerTokenSigner()
        Deprecated.
    • Method Detail

      • 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 sign
        signerParams - 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.
        Specified by:
        sign in interface Signer
        Parameters:
        request - The request to sign
        executionAttributes - Contains the execution attributes required for signing the request
        Returns:
        The signed request.