Class JWTID

All Implemented Interfaces:
Serializable, Comparable<Identifier>, net.minidev.json.JSONAware

@Immutable public final class JWTID extends Identifier
JSON Web Token (JWT) identifier.
See Also:
  • Constructor Details

    • JWTID

      public JWTID(String value)
      Creates a new JWT identifier with the specified value.
      Parameters:
      value - The JWT identifier value. Must not be null or empty string.
    • JWTID

      public JWTID(int byteLength)
      Creates a new JWT identifier with a randomly generated value of the specified byte length, Base64URL-encoded.
      Parameters:
      byteLength - The byte length of the value to generate. Must be greater than one.
    • JWTID

      public JWTID()
      Creates a new JWT identifier with a randomly generated 256-bit (32-byte) value, Base64URL-encoded.
  • Method Details