public enum UserProfileContext extends Enum<UserProfileContext>
This interface represents the different contexts from where user profiles are managed. The core contexts are already available here representing the different parts in Keycloak where user profiles are managed.
The context is crucial to drive the conditions that should be respected when managing user profiles. It might be possible to include in the future metadata about contexts. As well as support custom contexts.
Enum Constant and Description |
---|
ACCOUNT |
ACCOUNT_OLD |
IDP_REVIEW |
REGISTRATION_PROFILE |
REGISTRATION_USER_CREATION |
UPDATE_PROFILE |
USER_API |
Modifier and Type | Method and Description |
---|---|
static UserProfileContext |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserProfileContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserProfileContext UPDATE_PROFILE
public static final UserProfileContext USER_API
public static final UserProfileContext ACCOUNT
public static final UserProfileContext ACCOUNT_OLD
public static final UserProfileContext IDP_REVIEW
public static final UserProfileContext REGISTRATION_PROFILE
public static final UserProfileContext REGISTRATION_USER_CREATION
public static UserProfileContext[] values()
for (UserProfileContext c : UserProfileContext.values()) System.out.println(c);
public static UserProfileContext valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021 JBoss by Red Hat. All rights reserved.