类 Signer

java.lang.Object
com.baidu.mochow.auth.Signer

public class Signer extends Object
The implementation of Signer for mochow.
  • 构造器详细资料

    • Signer

      public Signer()
  • 方法详细资料

    • sign

      public void sign(InternalRequest request, Credentials credentials)
      Sign the given request with the given set of credentials. Modifies the passed-in request to apply the signature.
      参数:
      request - the request to sign.
      credentials - the credentials to sign the request with.
    • sign

      public void sign(InternalRequest request, Credentials credentials, SignOptions options)
      Sign the given request with the given set of credentials. Modifies the passed-in request to apply the signature.
      参数:
      request - the request to sign.
      credentials - the credentials to sign the request with.
      options - the options for signing.