Package com.vonage.client.auth
Class ApiKeyQueryParamsAuthMethod
java.lang.Object
com.vonage.client.auth.AbstractAuthMethod
com.vonage.client.auth.ApiKeyQueryParamsAuthMethod
- All Implemented Interfaces:
ApiKeyAuthMethod,AuthMethod,QueryParamsAuthMethod,Comparable<AuthMethod>
API key and secret in query parameters.
- Since:
- 8.8.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConverts this to a BasicAuthMethod.getAuthParams(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
-
ApiKeyQueryParamsAuthMethod
-
-
Method Details
-
asBasicHeader
Converts this to a BasicAuthMethod.- Returns:
- A new ApiKeyHeaderAuthMethod with this object's API key and secret.
-
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.
-
getSortKey
-
getApiKey
- Specified by:
getApiKeyin interfaceApiKeyAuthMethod
-