Index
All Classes and Interfaces|All Packages
A
- addClaim(String, Object) - Method in class com.vonage.jwt.Jwt.Builder
-
(OPTIONAL) Adds a custom claim for generated JWTs.
- applicationId(String) - Method in class com.vonage.jwt.Jwt.Builder
-
(REQUIRED) Sets the application ID.
- applicationId(UUID) - Method in class com.vonage.jwt.Jwt.Builder
-
(REQUIRED) Sets the application ID.
B
- build() - Method in class com.vonage.jwt.Jwt.Builder
-
Builds the JWT generator using this builder's settings.
- builder() - Static method in class com.vonage.jwt.Jwt
-
Instantiate a new Builder for building Jwt objects.
- Builder() - Constructor for class com.vonage.jwt.Jwt.Builder
C
- claims(Map<String, ?>) - Method in class com.vonage.jwt.Jwt.Builder
-
(OPTIONAL) Sets additional custom claims of the generated JWTs.
- com.vonage.jwt - package com.vonage.jwt
E
- expiresAt(ZonedDateTime) - Method in class com.vonage.jwt.Jwt.Builder
-
(OPTIONAL) Sets the
expclaim.
G
- generate() - Method in class com.vonage.jwt.Jwt
-
Creates a new Base64-encoded JWT using the settings specified in the builder.
- getApplicationId() - Method in class com.vonage.jwt.Jwt
-
Returns the
application_idclaim. - getClaims() - Method in class com.vonage.jwt.Jwt
-
Returns all claims, both standard and non-standard.
- getExpiresAt() - Method in class com.vonage.jwt.Jwt
-
Returns the
expclaim. - getId() - Method in class com.vonage.jwt.Jwt
-
Returns the
jticlaim. - getIssuedAt() - Method in class com.vonage.jwt.Jwt
-
Returns the
iatclaim. - getNotBefore() - Method in class com.vonage.jwt.Jwt
-
Returns the
nbfclaim. - getSubject() - Method in class com.vonage.jwt.Jwt
-
Returns the
subclaim.
I
- id(String) - Method in class com.vonage.jwt.Jwt.Builder
-
(OPTIONAL) Sets the
jticlaim. - issuedAt(ZonedDateTime) - Method in class com.vonage.jwt.Jwt.Builder
-
(OPTIONAL) Sets the
iatclaim.
J
- Jwt - Class in com.vonage.jwt
-
Class which allows declaratively specifying claims for generating Json Web Tokens (JWTs).
- Jwt.Builder - Class in com.vonage.jwt
-
Builder for setting the properties of a JWT.
N
- notBefore(ZonedDateTime) - Method in class com.vonage.jwt.Jwt.Builder
-
(OPTIONAL) Sets the
nbfclaim.
P
- privateKeyContents(String) - Method in class com.vonage.jwt.Jwt.Builder
-
(CONDITIONAL) Sets the private key used for signing the JWT.
- privateKeyPath(String) - Method in class com.vonage.jwt.Jwt.Builder
-
(CONDITIONAL) Sets the private key by reading it from a file.
- privateKeyPath(Path) - Method in class com.vonage.jwt.Jwt.Builder
-
(CONDITIONAL) Sets the private key by reading it from a file.
S
- subject(String) - Method in class com.vonage.jwt.Jwt.Builder
-
(OPTIONAL) Sets the
subclaim.
U
- unsigned() - Method in class com.vonage.jwt.Jwt.Builder
-
(CONDITIONAL) Create an unsigned token.
V
- verifySignature(String, String) - Static method in class com.vonage.jwt.Jwt
-
Determines whether the provided JSON Web Token was signed by a given SHA-256 HMAC secret.
W
- withProperties(Consumer<JWTCreator.Builder>) - Method in class com.vonage.jwt.Jwt.Builder
-
(OPTIONAL) This method enables specifying claims and other properties using the Auth0 JWT builder.
All Classes and Interfaces|All Packages