Uses of Interface
org.keycloak.authentication.AuthenticationFlowContext
Package
Description
-
Uses of AuthenticationFlowContext in org.keycloak.authentication
Modifier and TypeMethodDescriptionvoid
Authenticator.action
(AuthenticationFlowContext context) Called from a form action invocation.void
Authenticator.authenticate
(AuthenticationFlowContext context) Initial call for the authenticator.void
AuthenticationFlowCallback.onParentFlowSuccess
(AuthenticationFlowContext context) Triggered after the authentication flow is successfully finished. -
Uses of AuthenticationFlowContext in org.keycloak.authentication.authenticators
Modifier and TypeMethodDescriptionvoid
AttemptedAuthenticator.action
(AuthenticationFlowContext context) void
AttemptedAuthenticator.authenticate
(AuthenticationFlowContext context) -
Uses of AuthenticationFlowContext in org.keycloak.authentication.authenticators.access
Modifier and TypeMethodDescriptionvoid
AllowAccessAuthenticator.action
(AuthenticationFlowContext context) void
DenyAccessAuthenticator.action
(AuthenticationFlowContext context) void
AllowAccessAuthenticator.authenticate
(AuthenticationFlowContext context) void
DenyAccessAuthenticator.authenticate
(AuthenticationFlowContext context) -
Uses of AuthenticationFlowContext in org.keycloak.authentication.authenticators.broker
Modifier and TypeMethodDescriptionvoid
AbstractIdpAuthenticator.action
(AuthenticationFlowContext context) protected abstract void
AbstractIdpAuthenticator.actionImpl
(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext) protected void
IdpAutoLinkAuthenticator.actionImpl
(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext) protected void
IdpConfirmLinkAuthenticator.actionImpl
(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext) protected void
IdpCreateUserIfUniqueAuthenticator.actionImpl
(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext) protected void
IdpEmailVerificationAuthenticator.actionImpl
(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext) protected void
IdpReviewProfileAuthenticator.actionImpl
(AuthenticationFlowContext context, SerializedBrokeredIdentityContext userCtx, BrokeredIdentityContext brokerContext) void
AbstractIdpAuthenticator.authenticate
(AuthenticationFlowContext context) protected abstract void
AbstractIdpAuthenticator.authenticateImpl
(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext) protected void
IdpAutoLinkAuthenticator.authenticateImpl
(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext) protected void
IdpConfirmLinkAuthenticator.authenticateImpl
(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext) protected void
IdpCreateUserIfUniqueAuthenticator.authenticateImpl
(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext) protected void
IdpDetectExistingBrokerUserAuthenticator.authenticateImpl
(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext) protected void
IdpEmailVerificationAuthenticator.authenticateImpl
(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext) protected void
IdpReviewProfileAuthenticator.authenticateImpl
(AuthenticationFlowContext context, SerializedBrokeredIdentityContext userCtx, BrokeredIdentityContext brokerContext) protected jakarta.ws.rs.core.Response
IdpUsernamePasswordForm.challenge
(AuthenticationFlowContext context, jakarta.ws.rs.core.MultivaluedMap<String, String> formData) protected ExistingUserInfo
IdpCreateUserIfUniqueAuthenticator.checkExistingUser
(AuthenticationFlowContext context, String username, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext) protected String
IdpCreateUserIfUniqueAuthenticator.getUsername
(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext) protected boolean
IdpReviewProfileAuthenticator.requiresUpdateProfilePage
(AuthenticationFlowContext context, SerializedBrokeredIdentityContext userCtx, BrokeredIdentityContext brokerContext) protected void
AbstractIdpAuthenticator.sendFailureChallenge
(AuthenticationFlowContext context, jakarta.ws.rs.core.Response.Status status, String eventError, String errorMessage, AuthenticationFlowError flowError) protected LoginFormsProvider
IdpUsernamePasswordForm.setupForm
(AuthenticationFlowContext context, jakarta.ws.rs.core.MultivaluedMap<String, String> formData, Optional<UserModel> existingUser) protected void
IdpEmailVerificationAuthenticator.showEmailSentPage
(AuthenticationFlowContext context, BrokeredIdentityContext brokerContext) protected void
IdpCreateUserIfUniqueAuthenticator.userRegisteredSuccess
(AuthenticationFlowContext context, UserModel registeredUser, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext) protected boolean
IdpUsernamePasswordForm.validateForm
(AuthenticationFlowContext context, jakarta.ws.rs.core.MultivaluedMap<String, String> formData) -
Uses of AuthenticationFlowContext in org.keycloak.authentication.authenticators.browser
Modifier and TypeMethodDescriptionvoid
AbstractUsernameFormAuthenticator.action
(AuthenticationFlowContext context) void
CookieAuthenticator.action
(AuthenticationFlowContext context) void
IdentityProviderAuthenticator.action
(AuthenticationFlowContext context) void
OTPFormAuthenticator.action
(AuthenticationFlowContext context) void
RecoveryAuthnCodesFormAuthenticator.action
(AuthenticationFlowContext context) void
ScriptBasedAuthenticator.action
(AuthenticationFlowContext context) void
SpnegoAuthenticator.action
(AuthenticationFlowContext context) void
UsernamePasswordForm.action
(AuthenticationFlowContext context) void
WebAuthnAuthenticator.action
(AuthenticationFlowContext context) void
ConditionalOtpFormAuthenticator.authenticate
(AuthenticationFlowContext context) void
CookieAuthenticator.authenticate
(AuthenticationFlowContext context) void
IdentityProviderAuthenticator.authenticate
(AuthenticationFlowContext context) void
OTPFormAuthenticator.authenticate
(AuthenticationFlowContext context) void
PasswordForm.authenticate
(AuthenticationFlowContext context) void
RecoveryAuthnCodesFormAuthenticator.authenticate
(AuthenticationFlowContext context) void
ScriptBasedAuthenticator.authenticate
(AuthenticationFlowContext context) void
SpnegoAuthenticator.authenticate
(AuthenticationFlowContext context) void
UsernameForm.authenticate
(AuthenticationFlowContext context) void
UsernamePasswordForm.authenticate
(AuthenticationFlowContext context) void
WebAuthnAuthenticator.authenticate
(AuthenticationFlowContext context) protected jakarta.ws.rs.core.Response
AbstractUsernameFormAuthenticator.challenge
(AuthenticationFlowContext context, String error) protected jakarta.ws.rs.core.Response
AbstractUsernameFormAuthenticator.challenge
(AuthenticationFlowContext context, String error, String field) protected jakarta.ws.rs.core.Response
UsernameForm.challenge
(AuthenticationFlowContext context, jakarta.ws.rs.core.MultivaluedMap<String, String> formData) protected jakarta.ws.rs.core.Response
UsernamePasswordForm.challenge
(AuthenticationFlowContext context, jakarta.ws.rs.core.MultivaluedMap<String, String> formData) protected void
AbstractUsernameFormAuthenticator.dummyHash
(AuthenticationFlowContext context) boolean
AbstractUsernameFormAuthenticator.enabledUser
(AuthenticationFlowContext context, UserModel user) protected AuthenticatorConfigModel
ScriptBasedAuthenticator.getAuthenticatorConfig
(AuthenticationFlowContext context) protected String
AbstractUsernameFormAuthenticator.getDefaultChallengeMessage
(AuthenticationFlowContext context) protected String
PasswordForm.getDefaultChallengeMessage
(AuthenticationFlowContext context) protected String
UsernameForm.getDefaultChallengeMessage
(AuthenticationFlowContext context) protected String
RecoveryAuthnCodesFormAuthenticator.getDisabledByBruteForceEventError
(AuthenticationFlowContext authnFlowContext, UserModel authenticatedUser) protected String
WebAuthnAuthenticator.getRpID
(AuthenticationFlowContext context) protected WebAuthnPolicy
WebAuthnAuthenticator.getWebAuthnPolicy
(AuthenticationFlowContext context) protected WebAuthnPolicy
WebAuthnPasswordlessAuthenticator.getWebAuthnPolicy
(AuthenticationFlowContext context) protected boolean
AbstractUsernameFormAuthenticator.isDisabledByBruteForce
(AuthenticationFlowContext context, UserModel user) protected boolean
RecoveryAuthnCodesFormAuthenticator.isDisabledByBruteForce
(AuthenticationFlowContext authnFlowContext, UserModel authenticatedUser) protected boolean
AbstractUsernameFormAuthenticator.isUserAlreadySetBeforeUsernamePasswordAuth
(AuthenticationFlowContext context) protected jakarta.ws.rs.core.Response
SpnegoAuthenticator.optionalChallengeRedirect
(AuthenticationFlowContext context, String negotiateHeader) 401 challenge sent back that bypassesprotected void
AbstractUsernameFormAuthenticator.runDefaultDummyHash
(AuthenticationFlowContext context) protected jakarta.ws.rs.core.Response
AbstractUsernameFormAuthenticator.setDuplicateUserChallenge
(AuthenticationFlowContext context, String eventError, String loginFormError, AuthenticationFlowError authenticatorError) protected boolean
WebAuthnAuthenticator.shouldDisplayAuthenticators
(AuthenticationFlowContext context) protected boolean
WebAuthnPasswordlessAuthenticator.shouldDisplayAuthenticators
(AuthenticationFlowContext context) void
AbstractUsernameFormAuthenticator.testInvalidUser
(AuthenticationFlowContext context, UserModel user) protected boolean
PasswordForm.validateForm
(AuthenticationFlowContext context, jakarta.ws.rs.core.MultivaluedMap<String, String> formData) protected boolean
UsernameForm.validateForm
(AuthenticationFlowContext context, jakarta.ws.rs.core.MultivaluedMap<String, String> formData) protected boolean
UsernamePasswordForm.validateForm
(AuthenticationFlowContext context, jakarta.ws.rs.core.MultivaluedMap<String, String> formData) void
OTPFormAuthenticator.validateOTP
(AuthenticationFlowContext context) boolean
AbstractUsernameFormAuthenticator.validatePassword
(AuthenticationFlowContext context, UserModel user, jakarta.ws.rs.core.MultivaluedMap<String, String> inputData, boolean clearUser) boolean
AbstractUsernameFormAuthenticator.validateUser
(AuthenticationFlowContext context, jakarta.ws.rs.core.MultivaluedMap<String, String> inputData) boolean
AbstractUsernameFormAuthenticator.validateUserAndPassword
(AuthenticationFlowContext context, jakarta.ws.rs.core.MultivaluedMap<String, String> inputData) -
Uses of AuthenticationFlowContext in org.keycloak.authentication.authenticators.conditional
Modifier and TypeMethodDescriptionvoid
ConditionalLoaAuthenticator.action
(AuthenticationFlowContext context) void
ConditionalRoleAuthenticator.action
(AuthenticationFlowContext context) void
ConditionalUserAttributeValue.action
(AuthenticationFlowContext context) void
ConditionalUserConfiguredAuthenticator.action
(AuthenticationFlowContext context) default void
ConditionalAuthenticator.authenticate
(AuthenticationFlowContext context) boolean
ConditionalAuthenticator.matchCondition
(AuthenticationFlowContext context) boolean
ConditionalLoaAuthenticator.matchCondition
(AuthenticationFlowContext context) boolean
ConditionalRoleAuthenticator.matchCondition
(AuthenticationFlowContext context) boolean
ConditionalUserAttributeValue.matchCondition
(AuthenticationFlowContext context) boolean
ConditionalUserConfiguredAuthenticator.matchCondition
(AuthenticationFlowContext context) void
ConditionalLoaAuthenticator.onParentFlowSuccess
(AuthenticationFlowContext context) -
Uses of AuthenticationFlowContext in org.keycloak.authentication.authenticators.directgrant
Modifier and TypeMethodDescriptionvoid
AbstractDirectGrantAuthenticator.action
(AuthenticationFlowContext context) void
ValidateOTP.authenticate
(AuthenticationFlowContext context) void
ValidatePassword.authenticate
(AuthenticationFlowContext context) void
ValidateUsername.authenticate
(AuthenticationFlowContext context) protected String
ValidatePassword.retrievePassword
(AuthenticationFlowContext context) protected String
ValidateUsername.retrieveUsername
(AuthenticationFlowContext context) -
Uses of AuthenticationFlowContext in org.keycloak.authentication.authenticators.resetcred
Modifier and TypeMethodDescriptionvoid
AbstractSetRequiredActionAuthenticator.action
(AuthenticationFlowContext context) void
ResetCredentialChooseUser.action
(AuthenticationFlowContext context) void
ResetCredentialEmail.action
(AuthenticationFlowContext context) void
ResetOTP.action
(AuthenticationFlowContext context) void
ResetCredentialChooseUser.authenticate
(AuthenticationFlowContext context) void
ResetCredentialEmail.authenticate
(AuthenticationFlowContext context) void
ResetOTP.authenticate
(AuthenticationFlowContext context) void
ResetPassword.authenticate
(AuthenticationFlowContext context) protected boolean
ResetPassword.configuredFor
(AuthenticationFlowContext context) -
Uses of AuthenticationFlowContext in org.keycloak.authentication.authenticators.sessionlimits
Modifier and TypeMethodDescriptionvoid
UserSessionLimitsAuthenticator.action
(AuthenticationFlowContext context) void
UserSessionLimitsAuthenticator.authenticate
(AuthenticationFlowContext context) -
Uses of AuthenticationFlowContext in org.keycloak.authentication.authenticators.util
Modifier and TypeMethodDescriptionstatic String
AuthenticatorUtils.getDisabledByBruteForceEventError
(AuthenticationFlowContext authnFlowContext, UserModel authenticatedUser) -
Uses of AuthenticationFlowContext in org.keycloak.authentication.authenticators.x509
Modifier and TypeMethodDescriptionvoid
AbstractX509ClientCertificateDirectGrantAuthenticator.action
(AuthenticationFlowContext context) void
ValidateX509CertificateUsername.action
(AuthenticationFlowContext context) void
X509ClientCertificateAuthenticator.action
(AuthenticationFlowContext context) void
ValidateX509CertificateUsername.authenticate
(AuthenticationFlowContext context) void
X509ClientCertificateAuthenticator.authenticate
(AuthenticationFlowContext context) protected jakarta.ws.rs.core.Response
AbstractX509ClientCertificateAuthenticator.createInfoResponse
(AuthenticationFlowContext context, String infoMessage, Object... parameters) abstract UserModel
UserIdentityToModelMapper.find
(AuthenticationFlowContext context, Object userIdentity) protected X509Certificate[]
AbstractX509ClientCertificateAuthenticator.getCertificateChain
(AuthenticationFlowContext context) protected void
AbstractX509ClientCertificateAuthenticator.recordX509CertificateAuditDataViaContextEvent
(AuthenticationFlowContext context) protected void
AbstractX509ClientCertificateAuthenticator.saveX509CertificateAuditDataToAuthSession
(AuthenticationFlowContext context, X509Certificate cert) -
Uses of AuthenticationFlowContext in org.keycloak.forms.login
Modifier and TypeMethodDescriptionLoginFormsProvider.setAuthContext
(AuthenticationFlowContext context) -
Uses of AuthenticationFlowContext in org.keycloak.forms.login.freemarker
Modifier and TypeFieldDescriptionprotected AuthenticationFlowContext
FreeMarkerLoginFormsProvider.context
Modifier and TypeMethodDescriptionstatic List<IdentityProviderModel>
LoginFormsUtil.filterIdentityProviders
(Stream<IdentityProviderModel> providers, KeycloakSession session, AuthenticationFlowContext context) static List<IdentityProviderModel>
LoginFormsUtil.filterIdentityProvidersForTheme
(Stream<IdentityProviderModel> providers, KeycloakSession session, AuthenticationFlowContext context) FreeMarkerLoginFormsProvider.setAuthContext
(AuthenticationFlowContext context) -
Uses of AuthenticationFlowContext in org.keycloak.forms.login.freemarker.model
ModifierConstructorDescriptionAuthenticationContextBean
(AuthenticationFlowContext context, LoginFormsPages page) -
Uses of AuthenticationFlowContext in org.keycloak.protocol.docker
Modifier and TypeMethodDescriptionprotected void
DockerAuthenticator.notValidCredentialsAction
(AuthenticationFlowContext context, RealmModel realm, UserModel user) protected void
DockerAuthenticator.nullUserAction
(AuthenticationFlowContext context, RealmModel realm, String userId) protected void
DockerAuthenticator.userDisabledAction
(AuthenticationFlowContext context, RealmModel realm, UserModel user, String eventError) -
Uses of AuthenticationFlowContext in org.keycloak.protocol.saml.profile.ecp.authenticator
Modifier and TypeMethodDescriptionvoid
HttpBasicAuthenticator.action
(AuthenticationFlowContext context) void
HttpBasicAuthenticator.authenticate
(AuthenticationFlowContext context) protected void
HttpBasicAuthenticator.notValidCredentialsAction
(AuthenticationFlowContext context, RealmModel realm, UserModel user) protected void
HttpBasicAuthenticator.nullUserAction
(AuthenticationFlowContext context, RealmModel realm, String user) protected void
HttpBasicAuthenticator.userDisabledAction
(AuthenticationFlowContext context, RealmModel realm, UserModel user, String eventError) protected void
HttpBasicAuthenticator.userSuccessAction
(AuthenticationFlowContext context, UserModel user)