类的使用
com.baidu.mochow.auth.Credentials
使用Credentials的程序包
-
com.baidu.mochow.auth中Credentials的使用
参数类型为Credentials的com.baidu.mochow.auth中的方法修饰符和类型方法说明voidSigner.sign(InternalRequest request, Credentials credentials) Sign the given request with the given set of credentials.voidSigner.sign(InternalRequest request, Credentials credentials, SignOptions options) Sign the given request with the given set of credentials. -
com.baidu.mochow.client中Credentials的使用
参数类型为Credentials的com.baidu.mochow.client中的方法修饰符和类型方法说明voidClientConfiguration.setCredentials(Credentials credentials) Sets the Mochow credentials used by the client to sign HTTP requests.ClientConfiguration.withCredentials(Credentials credentials) Sets the Mochow credentials used by the client to sign HTTP requests, and returns the updated configuration instance.