类 Signer
java.lang.Object
com.baidu.mochow.auth.Signer
The implementation of Signer for mochow.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidsign(InternalRequest request, Credentials credentials) Sign the given request with the given set of credentials.voidsign(InternalRequest request, Credentials credentials, SignOptions options) Sign the given request with the given set of credentials.
-
构造器详细资料
-
Signer
public Signer()
-
-
方法详细资料
-
sign
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
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.
-