Class JwtSecureHeaderBuilder<T extends JwtBuilder,​B extends JwtSecureHeaderBuilder<T,​B>>

  • Type Parameters:
    T - the type of JwtBuilder that parents this JwtHeaderBuilder.
    B - the type of this JwtHeaderBuilder
    Direct Known Subclasses:
    EncryptedThenSignedJwtHeaderBuilder, JweHeaderBuilder, JwsHeaderBuilder

    public abstract class JwtSecureHeaderBuilder<T extends JwtBuilder,​B extends JwtSecureHeaderBuilder<T,​B>>
    extends JwtHeaderBuilder<T,​B>
    A base implementation of a JWT header builder, for the common security header parameters shared by the JWS and JWE headers, that provides a fluent builder pattern to creating JWT headers.

    See JwtSecureHeader for information on the JwtSecureHeader object that this builder creates.

    Since:
    2.0.0