Package org.keycloak.protocol
Enum Class LoginProtocol.Error
- All Implemented Interfaces:
Serializable
,Comparable<LoginProtocol.Error>
,Constable
- Enclosing interface:
- LoginProtocol
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionApplications-initiated action was canceled by the userApplications-initiated action was canceled by the user.Login cancelled by the userConsent denied by the userPassive authentication mode requested, user is logged in, but some other user interaction is necessary (eg.Passive authentication mode requested but nobody is logged in -
Method Summary
Modifier and TypeMethodDescriptionstatic LoginProtocol.Error
Returns the enum constant of this class with the specified name.static LoginProtocol.Error[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CANCELLED_BY_USER
Login cancelled by the user -
CANCELLED_AIA
Applications-initiated action was canceled by the user -
CANCELLED_AIA_SILENT
Applications-initiated action was canceled by the user. Do not send error. -
CONSENT_DENIED
Consent denied by the user -
PASSIVE_LOGIN_REQUIRED
Passive authentication mode requested but nobody is logged in -
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
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
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 nameNullPointerException
- if the argument is null
-