Package org.forgerock.json.jose.builders
Interface JwtBuilder
-
- All Known Subinterfaces:
SignedJwtBuilder
- All Known Implementing Classes:
AbstractJwtBuilder
,EncryptedJwtBuilder
,EncryptedThenSignedJwtBuilder
,SignedEncryptedJwtBuilder
,SignedJwtBuilderImpl
,SignedThenEncryptedJwtBuilder
public interface JwtBuilder
The base interface for all JwtBuilders for each type of JWT (plaintext, signed or encrypted).- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Jwt
asJwt()
Builds the JWT object from its constituent parts.String
build()
Builds the JWT into aString
by calling thebuild
method on the JWT object.
-
-
-
Method Detail
-
asJwt
Jwt asJwt()
Builds the JWT object from its constituent parts.- Returns:
- The Jwt.
-
build
String build()
Builds the JWT into aString
by calling thebuild
method on the JWT object.- Returns:
- The base64url encoded UTF-8 parts of the JWT.
- See Also:
Jwt.build()
-
-