Package org.forgerock.json.jose.builders
Interface JwtBuilder
-
- All Known Subinterfaces:
SignedJwtBuilder
- All Known Implementing Classes:
AbstractJwtBuilder,EncryptedJwtBuilder,EncryptedThenSignedJwtBuilder,SignedEncryptedJwtBuilder,SignedJwtBuilderImpl,SignedThenEncryptedJwtBuilder
public interface JwtBuilderThe 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 JwtasJwt()Builds the JWT object from its constituent parts.Stringbuild()Builds the JWT into aStringby calling thebuildmethod 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 aStringby calling thebuildmethod on the JWT object.- Returns:
- The base64url encoded UTF-8 parts of the JWT.
- See Also:
Jwt.build()
-
-