RawJwt.Builder |
RawJwt.Builder.addAudience(java.lang.String value) |
Adds an audience that the JWT is intended for.
|
RawJwt.Builder |
RawJwt.Builder.addBooleanClaim(java.lang.String name,
boolean value) |
Adds a custom claim of type boolean to the JWT.
|
RawJwt.Builder |
RawJwt.Builder.addJsonArrayClaim(java.lang.String name,
java.lang.String encodedJsonArray) |
Adds a custom claim encoded in a JSON String to the JWT.
|
RawJwt.Builder |
RawJwt.Builder.addJsonObjectClaim(java.lang.String name,
java.lang.String encodedJsonObject) |
Adds a custom claim encoded in a JSON String to the JWT.
|
RawJwt.Builder |
RawJwt.Builder.addNullClaim(java.lang.String name) |
Adds a custom claim with value null.
|
RawJwt.Builder |
RawJwt.Builder.addNumberClaim(java.lang.String name,
double value) |
Adds a custom claim of type double to the JWT.
|
RawJwt.Builder |
RawJwt.Builder.addNumberClaim(java.lang.String name,
long value) |
Adds a custom claim of type long to the JWT.
|
RawJwt.Builder |
RawJwt.Builder.addStringClaim(java.lang.String name,
java.lang.String value) |
Adds a custom claim of type String to the JWT.
|
static RawJwt.Builder |
RawJwt.newBuilder() |
Returns a new RawJwt.Builder.
|
RawJwt.Builder |
RawJwt.Builder.setAudience(java.lang.String value) |
Sets the audience that the JWT is intended for.
|
RawJwt.Builder |
RawJwt.Builder.setAudiences(java.util.List<java.lang.String> values) |
Sets the audiences that the JWT is intended for.
|
RawJwt.Builder |
RawJwt.Builder.setExpiration(java.time.Instant value) |
Sets the exp claim that identifies the instant on or after which the token MUST NOT
be accepted for processing.
|
RawJwt.Builder |
RawJwt.Builder.setIssuedAt(java.time.Instant value) |
Sets the iat claim that identifies the instant at which the JWT was issued.
|
RawJwt.Builder |
RawJwt.Builder.setIssuer(java.lang.String value) |
Sets the issuer claim that identifies the principal that issued the JWT.
|
RawJwt.Builder |
RawJwt.Builder.setJwtId(java.lang.String value) |
Sets the JWT ID claim that provides a unique identifier for the JWT.
|
RawJwt.Builder |
RawJwt.Builder.setNotBefore(java.time.Instant value) |
Sets the nbf claim that identifies the instant before which the token MUST NOT be
accepted for processing.
|
RawJwt.Builder |
RawJwt.Builder.setSubject(java.lang.String value) |
Sets the subject claim identifying the principal that is the subject of the JWT.
|
RawJwt.Builder |
RawJwt.Builder.setTypeHeader(java.lang.String value) |
Sets the Type Header Parameter.
|
RawJwt.Builder |
RawJwt.Builder.withoutExpiration() |
Allow generating tokens without an expiration.
|