Package com.nexmo.client.auth
Class SignatureAuthMethod
- java.lang.Object
-
- com.nexmo.client.auth.AbstractAuthMethod
-
- com.nexmo.client.auth.SignatureAuthMethod
-
- All Implemented Interfaces:
AuthMethod,java.lang.Comparable<AuthMethod>
public class SignatureAuthMethod extends AbstractAuthMethod
-
-
Field Summary
Fields Modifier and Type Field Description intSORT_KEY
-
Constructor Summary
Constructors Constructor Description SignatureAuthMethod(java.lang.String apiKey, java.lang.String secret)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.http.client.methods.RequestBuilderapply(org.apache.http.client.methods.RequestBuilder request)intgetSortKey()-
Methods inherited from class com.nexmo.client.auth.AbstractAuthMethod
applyAsBasicAuth, applyAsJsonProperties, compareTo
-
-
-
-
Field Detail
-
SORT_KEY
public final int SORT_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SignatureAuthMethod
public SignatureAuthMethod(java.lang.String apiKey, java.lang.String secret)
-
-
Method Detail
-
apply
public org.apache.http.client.methods.RequestBuilder apply(org.apache.http.client.methods.RequestBuilder request)
-
getSortKey
public int getSortKey()
- Specified by:
getSortKeyin interfaceAuthMethod- Specified by:
getSortKeyin classAbstractAuthMethod
-
-