Uses of Class
com.vonage.jwt.Jwt.Builder
-
Uses of Jwt.Builder in com.vonage.jwt
Methods in com.vonage.jwt that return Jwt.BuilderModifier and TypeMethodDescription(OPTIONAL) Adds a custom claim for generated JWTs.Jwt.Builder.applicationId(String applicationId) (REQUIRED) Sets the application ID.Jwt.Builder.applicationId(UUID applicationId) (REQUIRED) Sets the application ID.static Jwt.BuilderJwt.builder()Instantiate a new Builder for building Jwt objects.(OPTIONAL) Sets additional custom claims of the generated JWTs.Jwt.Builder.expiresAt(ZonedDateTime exp) (OPTIONAL) Sets theexpclaim.(OPTIONAL) Sets thejticlaim.Jwt.Builder.issuedAt(ZonedDateTime iat) (OPTIONAL) Sets theiatclaim.Jwt.Builder.notBefore(ZonedDateTime nbf) (OPTIONAL) Sets thenbfclaim.Jwt.Builder.privateKeyContents(String privateKeyContents) (CONDITIONAL) Sets the private key used for signing the JWT.Jwt.Builder.privateKeyPath(String privateKeyPath) (CONDITIONAL) Sets the private key by reading it from a file.Jwt.Builder.privateKeyPath(Path privateKeyPath) (CONDITIONAL) Sets the private key by reading it from a file.(OPTIONAL) Sets thesubclaim.Jwt.Builder.unsigned()(CONDITIONAL) Create an unsigned token.Jwt.Builder.withProperties(Consumer<com.auth0.jwt.JWTCreator.Builder> jwtBuilder) (OPTIONAL) This method enables specifying claims and other properties using the Auth0 JWT builder.