Enum Class TokenError

java.lang.Object
java.lang.Enum<TokenError>
io.micronaut.serde.jackson.jsonvalue.TokenError
All Implemented Interfaces:
Serializable, Comparable<TokenError>, Constable

public enum TokenError extends Enum<TokenError>
  • Enum Constant Details

    • INVALID_REQUEST

      public static final TokenError INVALID_REQUEST
    • INVALID_CLIENT

      public static final TokenError INVALID_CLIENT
    • INVALID_GRANT

      public static final TokenError INVALID_GRANT
    • UNAUTHORIZED_CLIENT

      public static final TokenError UNAUTHORIZED_CLIENT
    • UNSUPPORTED_GRANT_TYPE

      public static final TokenError UNSUPPORTED_GRANT_TYPE
    • INVALID_SCOPE

      public static final TokenError INVALID_SCOPE
  • Method Details

    • values

      public static TokenError[] 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 TokenError 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<TokenError>
      Returns:
      An errorCode code.