Enum Class JWT.JwtMethodMode

Object
Enum<JWT.JwtMethodMode>
kalix.javasdk.annotations.JWT.JwtMethodMode
All Implemented Interfaces:
Serializable, Comparable<JWT.JwtMethodMode>, Constable
Enclosing class:
JWT

public static enum JWT.JwtMethodMode extends Enum<JWT.JwtMethodMode>
  • Enum Constant Details

    • UNSPECIFIED

      public static final JWT.JwtMethodMode UNSPECIFIED
      No validation.
    • BEARER_TOKEN

      public static final JWT.JwtMethodMode BEARER_TOKEN
      Validates that the bearer token is present on the request, in the 'Authorization' header.
  • Method Details

    • values

      public static JWT.JwtMethodMode[] 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 JWT.JwtMethodMode 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