Package org.keycloak.protocol
Enum LoginProtocol.Error
- java.lang.Object
- 
- java.lang.Enum<LoginProtocol.Error>
- 
- org.keycloak.protocol.LoginProtocol.Error
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<LoginProtocol.Error>
 - Enclosing interface:
- LoginProtocol
 
 public static enum LoginProtocol.Error extends Enum<LoginProtocol.Error> 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description CANCELLED_AIAApplications-initiated action was canceled by the userCANCELLED_AIA_SILENTApplications-initiated action was canceled by the user.CANCELLED_BY_USERLogin cancelled by the userCONSENT_DENIEDConsent denied by the userPASSIVE_INTERACTION_REQUIREDPassive authentication mode requested, user is logged in, but some other user interaction is necessary (eg.PASSIVE_LOGIN_REQUIREDPassive authentication mode requested but nobody is logged in
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static LoginProtocol.ErrorvalueOf(String name)Returns the enum constant of this type with the specified name.static LoginProtocol.Error[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
CANCELLED_BY_USERpublic static final LoginProtocol.Error CANCELLED_BY_USER Login cancelled by the user
 - 
CANCELLED_AIApublic static final LoginProtocol.Error CANCELLED_AIA Applications-initiated action was canceled by the user
 - 
CANCELLED_AIA_SILENTpublic static final LoginProtocol.Error CANCELLED_AIA_SILENT Applications-initiated action was canceled by the user. Do not send error.
 - 
CONSENT_DENIEDpublic static final LoginProtocol.Error CONSENT_DENIED Consent denied by the user
 - 
PASSIVE_LOGIN_REQUIREDpublic static final LoginProtocol.Error PASSIVE_LOGIN_REQUIRED Passive authentication mode requested but nobody is logged in
 - 
PASSIVE_INTERACTION_REQUIREDpublic 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 Detail- 
valuespublic static LoginProtocol.Error[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LoginProtocol.Error c : LoginProtocol.Error.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static LoginProtocol.Error valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
- 
 
-