Package org.keycloak.models.utils
Enum DefaultRequiredActions.Action
- java.lang.Object
-
- java.lang.Enum<DefaultRequiredActions.Action>
-
- org.keycloak.models.utils.DefaultRequiredActions.Action
-
- All Implemented Interfaces:
Serializable
,Comparable<DefaultRequiredActions.Action>
- Enclosing class:
- DefaultRequiredActions
public static enum DefaultRequiredActions.Action extends Enum<DefaultRequiredActions.Action>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIGURE_RECOVERY_AUTHN_CODES
CONFIGURE_TOTP
DELETE_ACCOUNT
TERMS_AND_CONDITIONS
UPDATE_EMAIL
UPDATE_PASSWORD
UPDATE_PROFILE
UPDATE_USER_LOCALE
VERIFY_EMAIL
WEBAUTHN_PASSWORDLESS_REGISTER
WEBAUTHN_REGISTER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAction(RealmModel realm)
static Optional<DefaultRequiredActions.Action>
findByAlias(String alias)
String
getAlias()
boolean
isAvailable()
static DefaultRequiredActions.Action
valueOf(String name)
Returns the enum constant of this type with the specified name.static DefaultRequiredActions.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VERIFY_EMAIL
public static final DefaultRequiredActions.Action VERIFY_EMAIL
-
UPDATE_PROFILE
public static final DefaultRequiredActions.Action UPDATE_PROFILE
-
CONFIGURE_TOTP
public static final DefaultRequiredActions.Action CONFIGURE_TOTP
-
UPDATE_PASSWORD
public static final DefaultRequiredActions.Action UPDATE_PASSWORD
-
TERMS_AND_CONDITIONS
public static final DefaultRequiredActions.Action TERMS_AND_CONDITIONS
-
DELETE_ACCOUNT
public static final DefaultRequiredActions.Action DELETE_ACCOUNT
-
UPDATE_USER_LOCALE
public static final DefaultRequiredActions.Action UPDATE_USER_LOCALE
-
UPDATE_EMAIL
public static final DefaultRequiredActions.Action UPDATE_EMAIL
-
CONFIGURE_RECOVERY_AUTHN_CODES
public static final DefaultRequiredActions.Action CONFIGURE_RECOVERY_AUTHN_CODES
-
WEBAUTHN_REGISTER
public static final DefaultRequiredActions.Action WEBAUTHN_REGISTER
-
WEBAUTHN_PASSWORDLESS_REGISTER
public static final DefaultRequiredActions.Action WEBAUTHN_PASSWORDLESS_REGISTER
-
-
Method Detail
-
values
public static DefaultRequiredActions.Action[] 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 (DefaultRequiredActions.Action c : DefaultRequiredActions.Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultRequiredActions.Action 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 nameNullPointerException
- if the argument is null
-
getAlias
public String getAlias()
-
addAction
public void addAction(RealmModel realm)
-
isAvailable
public boolean isAvailable()
-
findByAlias
public static Optional<DefaultRequiredActions.Action> findByAlias(String alias)
-
-