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

    Modifier and Type
    Method
    Description
    Builds the JWT object from its constituent parts.
    Builds the JWT into a String by calling the build method on the JWT object.
  • Method Details

    • asJwt

      Jwt asJwt()
      Builds the JWT object from its constituent parts.
      Returns:
      The Jwt.
    • build

      String build()
      Builds the JWT into a String by calling the build method on the JWT object.

      Returns:
      The base64url encoded UTF-8 parts of the JWT.
      See Also: