Package org.keycloak.authentication
Interface AuthenticationFlowCallback
- 
- All Superinterfaces:
- Authenticator,- Provider
 - All Known Implementing Classes:
- ConditionalLoaAuthenticator
 
 public interface AuthenticationFlowCallback extends Authenticator Callback to be triggered during various lifecycle events of authentication flow. TheAuthenticatorFactory, which creates this Authenticator should implementAuthenticationFlowCallbackFactoryinterface.- Author:
- Marek Posolda
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidonParentFlowSuccess(AuthenticationFlowContext context)Triggered after the authentication flow is successfully finished.default voidonTopFlowSuccess()Triggered after the top authentication flow is successfully finished.- 
Methods inherited from interface org.keycloak.authentication.Authenticatoraction, areRequiredActionsEnabled, authenticate, configuredFor, getRequiredActions, requiresUser, setRequiredActions
 
- 
 
- 
- 
- 
Method Detail- 
onParentFlowSuccessvoid onParentFlowSuccess(AuthenticationFlowContext context) Triggered after the authentication flow is successfully finished. The target authentication flow is the one where this authenticator is configured. Authenticator should finish successfully in the flow (or being evaluated to true in case of Conditional Authenticator) in order to trigger this callback at the successful end of the flow- Parameters:
- context- which encapsulate various useful data
 
 - 
onTopFlowSuccessdefault void onTopFlowSuccess() Triggered after the top authentication flow is successfully finished. It is really suitable for last verification of successful authentication
 
- 
 
-