Class VerifyUserProfile
- java.lang.Object
- 
- org.keycloak.authentication.requiredactions.UpdateProfile
- 
- org.keycloak.authentication.requiredactions.VerifyUserProfile
 
 
- 
- All Implemented Interfaces:
- RequiredActionFactory,- RequiredActionProvider,- Provider,- ProviderFactory<RequiredActionProvider>
 
 public class VerifyUserProfile extends UpdateProfile - Author:
- Pedro Igor
 
- 
- 
Constructor SummaryConstructors Constructor Description VerifyUserProfile()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RequiredActionProvidercreate(KeycloakSession session)voidevaluateTriggers(RequiredActionContext context)Called every time a user authenticates.StringgetDisplayText()Display text used in admin console to reference this required actionStringgetId()protected UserModel.RequiredActiongetResponseAction()InitiatedActionSupportinitiatedActionSupport()Determines what type of support is provided for application-initiated actions.voidrequiredActionChallenge(RequiredActionContext context)If the user has a required action set, this method will be the initial call to obtain what to display to the user's browser.- 
Methods inherited from class org.keycloak.authentication.requiredactions.UpdateProfileclose, createResponse, init, postInit, processAction
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.provider.ProviderFactorygetConfigMetadata, order
 - 
Methods inherited from interface org.keycloak.authentication.RequiredActionFactoryisOneTimeAction
 - 
Methods inherited from interface org.keycloak.authentication.RequiredActionProvidergetMaxAuthAge, initiatedActionCanceled
 
- 
 
- 
- 
- 
Method Detail- 
initiatedActionSupportpublic InitiatedActionSupport initiatedActionSupport() Description copied from interface:RequiredActionProviderDetermines what type of support is provided for application-initiated actions.- Specified by:
- initiatedActionSupportin interface- RequiredActionProvider
- Overrides:
- initiatedActionSupportin class- UpdateProfile
- Returns:
- InititatedActionsSupport
 
 - 
getResponseActionprotected UserModel.RequiredAction getResponseAction() - Overrides:
- getResponseActionin class- UpdateProfile
 
 - 
evaluateTriggerspublic void evaluateTriggers(RequiredActionContext context) Description copied from interface:RequiredActionProviderCalled every time a user authenticates. This checks to see if this required action should be triggered. The implementation of this method is responsible for setting the required action on the UserModel. For example, the UpdatePassword required actions checks the password policies to see if the password has expired.- Specified by:
- evaluateTriggersin interface- RequiredActionProvider
- Overrides:
- evaluateTriggersin class- UpdateProfile
 
 - 
requiredActionChallengepublic void requiredActionChallenge(RequiredActionContext context) Description copied from interface:RequiredActionProviderIf the user has a required action set, this method will be the initial call to obtain what to display to the user's browser. Return null if no action should be done.- Specified by:
- requiredActionChallengein interface- RequiredActionProvider
- Overrides:
- requiredActionChallengein class- UpdateProfile
 
 - 
createpublic RequiredActionProvider create(KeycloakSession session) - Specified by:
- createin interface- ProviderFactory<RequiredActionProvider>
- Overrides:
- createin class- UpdateProfile
 
 - 
getDisplayTextpublic String getDisplayText() Description copied from interface:RequiredActionFactoryDisplay text used in admin console to reference this required action- Specified by:
- getDisplayTextin interface- RequiredActionFactory
- Overrides:
- getDisplayTextin class- UpdateProfile
- Returns:
 
 - 
getIdpublic String getId() - Specified by:
- getIdin interface- ProviderFactory<RequiredActionProvider>
- Overrides:
- getIdin class- UpdateProfile
 
 
- 
 
-