Package | Description |
---|---|
org.forgerock.json.jose.builders |
Classes and interfaces for builder to build JWTs using a fluent API.
|
Modifier and Type | Method and Description |
---|---|
JwtClaimsSetBuilder |
JwtClaimsSetBuilder.aud(List<String> aud)
Sets the JWT's intended audience list in the Claims Set.
|
JwtClaimsSetBuilder |
JwtClaimsSetBuilder.claim(String key,
Object claim)
Adds a custom claim to the JWT Claims Set.
|
JwtClaimsSetBuilder |
JwtBuilderFactory.claims()
Creates a builder for building a JWT Claims Set to be used in the building of JWTs.
|
JwtClaimsSetBuilder |
JwtClaimsSetBuilder.claims(Map<String,Object> claims)
Sets all of the claims the JWT Claims Set with the values contained in the specified map.
|
JwtClaimsSetBuilder |
JwtClaimsSetBuilder.exp(Date exp)
Sets the expiration time of the JWT in the Claims Set.
|
JwtClaimsSetBuilder |
JwtClaimsSetBuilder.iat(Date iat)
Sets the time the JWT was issued at, in the Claims Set.
|
JwtClaimsSetBuilder |
JwtClaimsSetBuilder.iss(String iss)
Sets the issuer this JWT was issued by.
|
JwtClaimsSetBuilder |
JwtClaimsSetBuilder.iss(URI iss)
Sets the issuer this JWT was issued by.
|
JwtClaimsSetBuilder |
JwtClaimsSetBuilder.jti(String jti)
Sets the unique ID of the JWT.
|
JwtClaimsSetBuilder |
JwtClaimsSetBuilder.nbf(Date nbf)
Sets the time the JWT is not allowed to be processed before, in the Claims Set.
|
JwtClaimsSetBuilder |
JwtClaimsSetBuilder.sub(String sub)
Sets the subject this JWT is issued to.
|
JwtClaimsSetBuilder |
JwtClaimsSetBuilder.sub(URI sub)
Sets the subject this JWT is issued to.
|
JwtClaimsSetBuilder |
JwtClaimsSetBuilder.typ(JwtType typ)
Sets the type of the contents of the Claims Set.
|
Copyright 2010-2022 ForgeRock AS.