Class Identifier

    • Constructor Detail

      • Identifier

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

        public Identifier​(int byteLength)
        Creates a new 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.
      • Identifier

        public Identifier()
        Creates a new identifier with a randomly generated 256-bit (32-byte) value, Base64URL-encoded.