Package com.vonage.client.auth
Class ApiKeyHeaderAuthMethod
java.lang.Object
com.vonage.client.auth.AbstractAuthMethod
com.vonage.client.auth.BasicAuthMethod
com.vonage.client.auth.ApiKeyHeaderAuthMethod
- All Implemented Interfaces:
ApiKeyAuthMethod,AuthMethod,HeaderAuthMethod,Comparable<AuthMethod>
API key and secret in the header.
- Since:
- 8.8.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.This will be removed in a future release.protected StringintMethods inherited from class com.vonage.client.auth.BasicAuthMethod
getHeaderValueMethods 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
-
ApiKeyHeaderAuthMethod
-
-
Method Details
-
getApiKey
- Specified by:
getApiKeyin interfaceApiKeyAuthMethod
-
asQueryParams
Deprecated.This will be removed in a future release.Converts this to a QueryParamsAuthMethod.- Returns:
- A new ApiKeyQueryParamsAuthMethod with this object's API key and secret.
-
getBasicToken
- Specified by:
getBasicTokenin classBasicAuthMethod
-
getSortKey
- Specified by:
getSortKeyin interfaceAuthMethod
-