Enum Class LoginProtocol.Error

java.lang.Object
java.lang.Enum<LoginProtocol.Error>
org.keycloak.protocol.LoginProtocol.Error
All Implemented Interfaces:
Serializable, Comparable<LoginProtocol.Error>, Constable
Enclosing interface:
LoginProtocol

public static enum LoginProtocol.Error extends Enum<LoginProtocol.Error>
  • Enum Constant Details

    • CANCELLED_BY_USER

      public static final LoginProtocol.Error CANCELLED_BY_USER
      Login cancelled by the user
    • CANCELLED_AIA

      public static final LoginProtocol.Error CANCELLED_AIA
      Applications-initiated action was canceled by the user
    • CANCELLED_AIA_SILENT

      public static final LoginProtocol.Error CANCELLED_AIA_SILENT
      Applications-initiated action was canceled by the user. Do not send error.
    • PASSIVE_LOGIN_REQUIRED

      public static final LoginProtocol.Error PASSIVE_LOGIN_REQUIRED
      Passive authentication mode requested but nobody is logged in
    • PASSIVE_INTERACTION_REQUIRED

      public static final LoginProtocol.Error PASSIVE_INTERACTION_REQUIRED
      Passive authentication mode requested, user is logged in, but some other user interaction is necessary (eg. some required login actions exist or Consent approval is necessary for logged in user)
  • Method Details

    • values

      public static LoginProtocol.Error[] 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 LoginProtocol.Error 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