Class IdpEmailVerificationAuthenticator
java.lang.Object
org.keycloak.authentication.authenticators.broker.AbstractIdpAuthenticator
org.keycloak.authentication.authenticators.broker.IdpEmailVerificationAuthenticator
- All Implemented Interfaces:
Authenticator,Provider
- Author:
- Marek Posolda
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final StringSet on the original authentication session when a cross-browser confirmation created a SUO proof.static final StringFields inherited from class org.keycloak.authentication.authenticators.broker.AbstractIdpAuthenticator
BROKERED_CONTEXT_NOTE, ENFORCE_UPDATE_PROFILE, EXISTING_USER_INFO, FIRST_BROKER_LOGIN_SUCCESS, NESTED_FIRST_BROKER_CONTEXT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactionImpl(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext) protected voidauthenticateImpl(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext) booleanconfiguredFor(KeycloakSession session, RealmModel realm, UserModel user) Is this authenticator configured for this user.booleanDoes this authenticator require that the user has already been identified?protected voidshowEmailSentPage(AuthenticationFlowContext context, BrokeredIdentityContext brokerContext) Methods inherited from class org.keycloak.authentication.authenticators.broker.AbstractIdpAuthenticator
action, authenticate, close, getExistingUser, sendFailureChallenge, setRequiredActionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.authentication.Authenticator
areRequiredActionsEnabled, getRequiredActions
-
Field Details
-
VERIFY_ACCOUNT_IDP_USERNAME
- See Also:
-
VERIFY_ACCOUNT_IDP_CROSS_BROWSER
Set on the original authentication session when a cross-browser confirmation created a SUO proof. Same-browser confirmation never sets this note (no SUO); cross-browser continuation must win the atomic SUO consume before proceeding.- See Also:
-
IDP_LINK_CONFIRMATION_EMAIL_KEY
- See Also:
-
-
Constructor Details
-
IdpEmailVerificationAuthenticator
public IdpEmailVerificationAuthenticator()
-
-
Method Details
-
authenticateImpl
protected void authenticateImpl(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext) - Specified by:
authenticateImplin classAbstractIdpAuthenticator
-
actionImpl
protected void actionImpl(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext) - Specified by:
actionImplin classAbstractIdpAuthenticator
-
requiresUser
public boolean requiresUser()Description copied from interface:AuthenticatorDoes this authenticator require that the user has already been identified? That AuthenticatorContext.getUser() is not null?- Returns:
-
configuredFor
Description copied from interface:AuthenticatorIs this authenticator configured for this user.- Returns:
-
showEmailSentPage
protected void showEmailSentPage(AuthenticationFlowContext context, BrokeredIdentityContext brokerContext)
-