Uses of Class
com.revetsec.jose.JwtClaimsSet.Builder
Packages that use JwtClaimsSet.Builder
Package
Description
JSON Object Signing and Encryption: JWS signature verification and bounded RSA signing, JSON Web Keys and key sets, and JWT claims
validation (RFC 7515, RFC 7517, RFC 7519).
-
Uses of JwtClaimsSet.Builder in com.revetsec.jose
Methods in com.revetsec.jose that return JwtClaimsSet.BuilderModifier and TypeMethodDescriptionReplaces the audiences (aud), serialized as an array even when there is one audience.static @NonNull JwtClaimsSet.BuilderJwtClaimsSet.builder()Returns a builder with no claims.Adds a custom claim.Adds a custom boolean claim.Adds a custom integral number claim.Adds a custom string claim.JwtClaimsSet.Builder.claim(@NonNull String name, @NonNull BigDecimal value) Adds a custom number claim held exactly as a JSON number.Adds a custom claim whose value is JSONnull.Sets the expiration time (exp) as a NumericDate, preserving nanoseconds.Sets the issue time (iat) as a NumericDate, preserving nanoseconds.Sets the issuer (iss).Sets the JWT ID (jti).Sets the time before which the token is not valid (nbf) as a NumericDate, preserving nanoseconds.Sets the subject (sub).