Package com.vonage.client.auth
Class SignatureAuthMethod
java.lang.Object
com.vonage.client.auth.AbstractAuthMethod
com.vonage.client.auth.SignatureAuthMethod
- All Implemented Interfaces:
ApiKeyAuthMethod,AuthMethod,QueryParamsAuthMethod,Comparable<AuthMethod>
-
Constructor Summary
ConstructorsConstructorDescriptionSignatureAuthMethod(String apiKey, String sigSecret) SignatureAuthMethod(String apiKey, String sigSecret, HashUtil.HashType hashType) -
Method Summary
Modifier and TypeMethodDescriptiongetAuthParams(RequestQueryParams requestParams) Gets the auth parameters to be included in the query string.intMethods inherited from class com.vonage.client.auth.AbstractAuthMethod
equals, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vonage.client.auth.AuthMethod
compareTo
-
Constructor Details
-
SignatureAuthMethod
-
SignatureAuthMethod
-
-
Method Details
-
getSortKey
-
getAuthParams
Description copied from interface:QueryParamsAuthMethodGets the auth parameters to be included in the query string.- Specified by:
getAuthParamsin interfaceQueryParamsAuthMethod- Parameters:
requestParams- List of existing request parameters, which may be used in the computation.- Returns:
- A new Map containing only the authentication parameters.
-
getApiKey
- Specified by:
getApiKeyin interfaceApiKeyAuthMethod
-