Class VerifyProfileBean
java.lang.Object
org.keycloak.forms.login.freemarker.model.AbstractUserProfileBean
org.keycloak.forms.login.freemarker.model.VerifyProfileBean
- Author:
- Pedro Igor
-
Nested Class Summary
Nested classes/interfaces inherited from class org.keycloak.forms.login.freemarker.model.AbstractUserProfileBean
AbstractUserProfileBean.Attribute
-
Field Summary
Fields inherited from class org.keycloak.forms.login.freemarker.model.AbstractUserProfileBean
attributes, attributesByName, formData, profile
-
Constructor Summary
ConstructorDescriptionVerifyProfileBean
(UserModel user, jakarta.ws.rs.core.MultivaluedMap<String, String> formData, KeycloakSession session) -
Method Summary
Modifier and TypeMethodDescriptionprotected UserProfile
createUserProfile
(UserProfileProvider provider) Create UserProfile instance of the relevant type.Get attribute default values to be pre-filled into the form on first show.Get context the template is used for, so view can be customized for distinct contexts.Methods inherited from class org.keycloak.forms.login.freemarker.model.AbstractUserProfileBean
getAttributes, getAttributesByName, init
-
Constructor Details
-
VerifyProfileBean
public VerifyProfileBean(UserModel user, jakarta.ws.rs.core.MultivaluedMap<String, String> formData, KeycloakSession session)
-
-
Method Details
-
createUserProfile
Description copied from class:AbstractUserProfileBean
Create UserProfile instance of the relevant type. Is called fromAbstractUserProfileBean.init(KeycloakSession, boolean)
.- Specified by:
createUserProfile
in classAbstractUserProfileBean
- Parameters:
provider
- to create UserProfile from- Returns:
- user profile instance
-
getAttributeDefaultValues
Description copied from class:AbstractUserProfileBean
Get attribute default values to be pre-filled into the form on first show.- Specified by:
getAttributeDefaultValues
in classAbstractUserProfileBean
- Parameters:
name
- of the attribute- Returns:
- attribute default value (can be null)
-
getContext
Description copied from class:AbstractUserProfileBean
Get context the template is used for, so view can be customized for distinct contexts.- Specified by:
getContext
in classAbstractUserProfileBean
- Returns:
- name of the context
-