Enum Class OAuthError

java.lang.Object
java.lang.Enum<OAuthError>
org.apache.polaris.service.auth.internal.service.OAuthError
All Implemented Interfaces:
Serializable, Comparable<OAuthError>, Constable

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

    • invalid_request

      public static final OAuthError invalid_request
    • invalid_client

      public static final OAuthError invalid_client
    • invalid_grant

      public static final OAuthError invalid_grant
    • unauthorized_client

      public static final OAuthError unauthorized_client
    • unsupported_grant_type

      public static final OAuthError unsupported_grant_type
    • invalid_scope

      public static final OAuthError invalid_scope
  • Method Details

    • values

      public static OAuthError[] 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 OAuthError 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
    • getErrorDescription

      public String getErrorDescription()