Package com.vonage.client.auth
Class JWTAuthMethod
java.lang.Object
com.vonage.client.auth.AbstractAuthMethod
com.vonage.client.auth.BearerAuthMethod
com.vonage.client.auth.JWTAuthMethod
- All Implemented Interfaces:
AuthMethod,HeaderAuthMethod,Comparable<AuthMethod>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vonage.client.auth.BearerAuthMethod
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
-
JWTAuthMethod
-
-
Method Details
-
generateToken
-
getApplicationId
-
newJwt
Convenience method for creating custom JWTs.- Returns:
- A new
Jwt.Builderwith the application ID and private key already set. - Since:
- 8.0.0-beta2
-
getBearerToken
- Specified by:
getBearerTokenin classBearerAuthMethod
-
getSortKey
-