Class VerifyUserProfile
java.lang.Object
org.keycloak.authentication.requiredactions.UpdateProfile
org.keycloak.authentication.requiredactions.VerifyUserProfile
- All Implemented Interfaces:
RequiredActionFactory,RequiredActionProvider,Provider,ProviderFactory<RequiredActionProvider>
- Author:
- Pedro Igor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(KeycloakSession session) voidevaluateTriggers(RequiredActionContext context) Called every time a user authenticates.Display text used in admin console to reference this required actiongetId()protected UserModel.RequiredActionDetermines what type of support is provided for application-initiated actions.voidIf 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.UpdateProfile
close, createResponse, init, postInit, processActionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, orderMethods inherited from interface org.keycloak.authentication.RequiredActionFactory
isOneTimeActionMethods inherited from interface org.keycloak.authentication.RequiredActionProvider
getMaxAuthAge, initiatedActionCanceled
-
Constructor Details
-
VerifyUserProfile
public VerifyUserProfile()
-
-
Method Details
-
initiatedActionSupport
Description copied from interface:RequiredActionProviderDetermines what type of support is provided for application-initiated actions.- Specified by:
initiatedActionSupportin interfaceRequiredActionProvider- Overrides:
initiatedActionSupportin classUpdateProfile- Returns:
- InititatedActionsSupport
-
getResponseAction
- Overrides:
getResponseActionin classUpdateProfile
-
evaluateTriggers
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 interfaceRequiredActionProvider- Overrides:
evaluateTriggersin classUpdateProfile
-
requiredActionChallenge
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 interfaceRequiredActionProvider- Overrides:
requiredActionChallengein classUpdateProfile
-
create
- Specified by:
createin interfaceProviderFactory<RequiredActionProvider>- Overrides:
createin classUpdateProfile
-
getDisplayText
Description copied from interface:RequiredActionFactoryDisplay text used in admin console to reference this required action- Specified by:
getDisplayTextin interfaceRequiredActionFactory- Overrides:
getDisplayTextin classUpdateProfile- Returns:
-
getId
- Specified by:
getIdin interfaceProviderFactory<RequiredActionProvider>- Overrides:
getIdin classUpdateProfile
-