Package org.forgerock.json.jose.builders
Class AbstractJwtBuilder
- java.lang.Object
-
- org.forgerock.json.jose.builders.AbstractJwtBuilder
-
- All Implemented Interfaces:
JwtBuilder
- Direct Known Subclasses:
EncryptedJwtBuilder
,EncryptedThenSignedJwtBuilder
,SignedJwtBuilderImpl
public abstract class AbstractJwtBuilder extends Object implements JwtBuilder
A base implementation for all JwtBuilders that provides the basis of the JWT builder methods.- Since:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description AbstractJwtBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description AbstractJwtBuilder
claims(JwtClaimsSet claimsSet)
Sets the JwtClaimsSet for this JwtBuilder.abstract JwtHeaderBuilder<?,?>
headers()
Gets the JwtHeaderBuilder that this JwtBuilder will use to build the JWT's header parameters.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.forgerock.json.jose.builders.JwtBuilder
asJwt, build
-
-
-
-
Method Detail
-
headers
public abstract JwtHeaderBuilder<?,?> headers()
Gets the JwtHeaderBuilder that this JwtBuilder will use to build the JWT's header parameters.- Returns:
- The JwtHeaderBuilder instance.
-
claims
public AbstractJwtBuilder claims(JwtClaimsSet claimsSet)
Sets the JwtClaimsSet for this JwtBuilder.- Parameters:
claimsSet
- The JwtClaimsSet containing the JWT's claims.- Returns:
- This AbstractJwtBuilder.
-
-