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
A base implementation for all JwtBuilders that provides the basis of the JWT builder methods.
- Since:
- 2.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclaims
(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
-
Constructor Details
-
AbstractJwtBuilder
public AbstractJwtBuilder()
-
-
Method Details
-
headers
Gets the JwtHeaderBuilder that this JwtBuilder will use to build the JWT's header parameters.- Returns:
- The JwtHeaderBuilder instance.
-
claims
Sets the JwtClaimsSet for this JwtBuilder.- Parameters:
claimsSet
- The JwtClaimsSet containing the JWT's claims.- Returns:
- This AbstractJwtBuilder.
-