Package com.mastercard.developer.signers
Class GoogleApiClientSigner
- java.lang.Object
-
- com.mastercard.developer.signers.AbstractSigner
-
- com.mastercard.developer.signers.GoogleApiClientSigner
-
public class GoogleApiClientSigner extends AbstractSigner
Utility class for signing Google HTTP Client requests. See also: https://github.com/googleapis/google-http-java-client
-
-
Field Summary
-
Fields inherited from class com.mastercard.developer.signers.AbstractSigner
charset, consumerKey, signingKey
-
-
Constructor Summary
Constructors Constructor Description GoogleApiClientSigner(String consumerKey, PrivateKey signingKey)GoogleApiClientSigner(Charset charset, String consumerKey, PrivateKey signingKey)
-
-
-
Constructor Detail
-
GoogleApiClientSigner
public GoogleApiClientSigner(String consumerKey, PrivateKey signingKey)
-
GoogleApiClientSigner
public GoogleApiClientSigner(Charset charset, String consumerKey, PrivateKey signingKey)
-
-
Method Detail
-
sign
public void sign(com.google.api.client.http.HttpRequest request) throws IOException- Throws:
IOException
-
-