Enum Class OidcCompatibilityMode

java.lang.Object
java.lang.Enum<OidcCompatibilityMode>
com.revetsec.oidc.OidcCompatibilityMode
All Implemented Interfaces:
Serializable, Comparable<OidcCompatibilityMode>, Constable

Explicit per-client OIDC relaxations. Modes are off by default and observed at build and every actual use.
Since:
1.0.0
Author:
Mark Allen
  • Enum Constant Details

    • HMAC_ID_TOKENS

      Permits explicitly allowlisted HS256/384/512 ID tokens for a confidential client. The key is the exact request-authentication client secret in UTF-8, at least 32/48/64 bytes respectively. Multi-valued audiences are rejected. This does not permit HMAC in the public JWT validator or in signed UserInfo.
  • Method Details

    • values

      public static OidcCompatibilityMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OidcCompatibilityMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null