Uses of Class
org.keycloak.models.AuthenticationFlowModel
Package
Description
-
Uses of AuthenticationFlowModel in org.keycloak.authentication
Modifier and TypeMethodDescriptionAbstractAuthenticationFlowContext.getTopLevelFlow()
AuthenticationProcessor.Result.getTopLevelFlow()
static AuthenticationFlowModel
AuthenticatorUtil.getTopParentFlow
(RealmModel realm, AuthenticationExecutionModel executionModel) Useful if we need to find top-level flow from executionModelModifier and TypeMethodDescriptiondefault void
AuthenticationFlowCallback.onTopFlowSuccess
(AuthenticationFlowModel topFlow) Triggered after the top authentication flow is successfully finished.ModifierConstructorDescriptionClientAuthenticationFlow
(AuthenticationProcessor processor, AuthenticationFlowModel flow) DefaultAuthenticationFlow
(AuthenticationProcessor processor, AuthenticationFlowModel flow) -
Uses of AuthenticationFlowModel in org.keycloak.authentication.actiontoken
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
ActionTokenContext.ProcessAuthenticateFlow.processFlow
(boolean action, String execution, AuthenticationSessionModel authSession, String flowPath, AuthenticationFlowModel flow, String errorMessage, AuthenticationProcessor processor) jakarta.ws.rs.core.Response
ActionTokenContext.processFlow
(boolean action, String flowPath, AuthenticationFlowModel flow, String errorMessage, AuthenticationProcessor processor) -
Uses of AuthenticationFlowModel in org.keycloak.authentication.authenticators.conditional
Modifier and TypeMethodDescriptionvoid
ConditionalLoaAuthenticator.onTopFlowSuccess
(AuthenticationFlowModel topFlow) -
Uses of AuthenticationFlowModel in org.keycloak.authentication.authenticators.util
Modifier and TypeMethodDescriptionLoAUtil.getCredentialTypesToLoAMap
(KeycloakSession session, RealmModel realm, AuthenticationFlowModel topFlow) Return map where: - keys are credential types corresponding to authenticators available in given authentication flow - values are LoA levels of those credentials in the given flow (If not step-up authentication is used, values will be always Constants.NO_LOA) For instance if we have password as level1 and OTP or WebAuthn as available level2 authenticators it can return map like: { "password" -> 1, "otp" -> 2 "webauthn" -> 2 }int
AcrStore.getRequestedLevelOfAuthentication
(AuthenticationFlowModel executionModel) boolean
-
Uses of AuthenticationFlowModel in org.keycloak.migration.migrators
Modifier and TypeMethodDescriptionstatic void
MigrateTo8_0_0.migrateOptionalAuthenticationExecution
(RealmModel realm, AuthenticationFlowModel parentFlow, AuthenticationExecutionModel optionalExecution, boolean updateOptionalExecution) -
Uses of AuthenticationFlowModel in org.keycloak.models
Modifier and TypeMethodDescriptionRealmModel.addAuthenticationFlow
(AuthenticationFlowModel model) RealmModel.getAuthenticationFlowById
(String id) RealmModel.getBrowserFlow()
RealmModel.getClientAuthenticationFlow()
RealmModel.getDirectGrantFlow()
RealmModel.getDockerAuthenticationFlow()
RealmModel.getFirstBrokerLoginFlow()
RealmModel.getFlowByAlias
(String alias) RealmModel.getRegistrationFlow()
RealmModel.getResetCredentialsFlow()
Modifier and TypeMethodDescriptionRealmModel.getAuthenticationFlowsStream()
Returns authentications flows as a stream.Modifier and TypeMethodDescriptionRealmModel.addAuthenticationFlow
(AuthenticationFlowModel model) int
AuthenticationFlowModel.AuthenticationFlowComparator.compare
(AuthenticationFlowModel left, AuthenticationFlowModel right) void
RealmModel.removeAuthenticationFlow
(AuthenticationFlowModel model) void
RealmModel.setBrowserFlow
(AuthenticationFlowModel flow) void
RealmModel.setClientAuthenticationFlow
(AuthenticationFlowModel flow) void
RealmModel.setDirectGrantFlow
(AuthenticationFlowModel flow) void
RealmModel.setDockerAuthenticationFlow
(AuthenticationFlowModel flow) void
RealmModel.setFirstBrokerLoginFlow
(AuthenticationFlowModel flow) void
RealmModel.setRegistrationFlow
(AuthenticationFlowModel flow) void
RealmModel.setResetCredentialsFlow
(AuthenticationFlowModel flow) void
RealmModel.updateAuthenticationFlow
(AuthenticationFlowModel model) -
Uses of AuthenticationFlowModel in org.keycloak.models.cache.infinispan
Modifier and TypeMethodDescriptionRealmAdapter.addAuthenticationFlow
(AuthenticationFlowModel model) RealmAdapter.getAuthenticationFlowById
(String id) RealmAdapter.getBrowserFlow()
RealmAdapter.getClientAuthenticationFlow()
RealmAdapter.getDirectGrantFlow()
RealmAdapter.getDockerAuthenticationFlow()
RealmAdapter.getFirstBrokerLoginFlow()
RealmAdapter.getFlowByAlias
(String alias) RealmAdapter.getRegistrationFlow()
RealmAdapter.getResetCredentialsFlow()
Modifier and TypeMethodDescriptionRealmAdapter.addAuthenticationFlow
(AuthenticationFlowModel model) void
RealmAdapter.removeAuthenticationFlow
(AuthenticationFlowModel model) void
RealmAdapter.setBrowserFlow
(AuthenticationFlowModel flow) void
RealmAdapter.setClientAuthenticationFlow
(AuthenticationFlowModel flow) void
RealmAdapter.setDirectGrantFlow
(AuthenticationFlowModel flow) void
RealmAdapter.setDockerAuthenticationFlow
(AuthenticationFlowModel flow) void
RealmAdapter.setFirstBrokerLoginFlow
(AuthenticationFlowModel flow) void
RealmAdapter.setRegistrationFlow
(AuthenticationFlowModel flow) void
RealmAdapter.setResetCredentialsFlow
(AuthenticationFlowModel flow) void
RealmAdapter.updateAuthenticationFlow
(AuthenticationFlowModel model) -
Uses of AuthenticationFlowModel in org.keycloak.models.cache.infinispan.entities
Modifier and TypeFieldDescriptionprotected AuthenticationFlowModel
CachedRealm.browserFlow
protected AuthenticationFlowModel
CachedRealm.clientAuthenticationFlow
protected AuthenticationFlowModel
CachedRealm.directGrantFlow
protected AuthenticationFlowModel
CachedRealm.dockerAuthenticationFlow
protected AuthenticationFlowModel
CachedRealm.firstBrokerLoginFlow
protected AuthenticationFlowModel
CachedRealm.orgRegistrationFlow
protected AuthenticationFlowModel
CachedRealm.registrationFlow
protected AuthenticationFlowModel
CachedRealm.resetCredentialsFlow
Modifier and TypeFieldDescriptionprotected List<AuthenticationFlowModel>
CachedRealm.authenticationFlowList
protected Map<String,
AuthenticationFlowModel> CachedRealm.authenticationFlows
Modifier and TypeMethodDescriptionCachedRealm.getBrowserFlow()
CachedRealm.getClientAuthenticationFlow()
CachedRealm.getDirectGrantFlow()
CachedRealm.getDockerAuthenticationFlow()
CachedRealm.getFirstBrokerLoginFlow()
CachedRealm.getRegistrationFlow()
CachedRealm.getResetCredentialsFlow()
Modifier and TypeMethodDescriptionCachedRealm.getAuthenticationFlowList()
CachedRealm.getAuthenticationFlows()
-
Uses of AuthenticationFlowModel in org.keycloak.models.jpa
Modifier and TypeMethodDescriptionRealmAdapter.addAuthenticationFlow
(AuthenticationFlowModel model) protected AuthenticationFlowModel
RealmAdapter.entityToModel
(AuthenticationFlowEntity entity) RealmAdapter.getAuthenticationFlowById
(String id) RealmAdapter.getBrowserFlow()
RealmAdapter.getClientAuthenticationFlow()
RealmAdapter.getDirectGrantFlow()
RealmAdapter.getDockerAuthenticationFlow()
RealmAdapter.getFirstBrokerLoginFlow()
RealmAdapter.getFlowByAlias
(String alias) RealmAdapter.getRegistrationFlow()
RealmAdapter.getResetCredentialsFlow()
Modifier and TypeMethodDescriptionRealmAdapter.addAuthenticationFlow
(AuthenticationFlowModel model) void
RealmAdapter.removeAuthenticationFlow
(AuthenticationFlowModel model) void
RealmAdapter.setBrowserFlow
(AuthenticationFlowModel flow) void
RealmAdapter.setClientAuthenticationFlow
(AuthenticationFlowModel flow) void
RealmAdapter.setDirectGrantFlow
(AuthenticationFlowModel flow) void
RealmAdapter.setDockerAuthenticationFlow
(AuthenticationFlowModel flow) void
RealmAdapter.setFirstBrokerLoginFlow
(AuthenticationFlowModel flow) void
RealmAdapter.setRegistrationFlow
(AuthenticationFlowModel flow) void
RealmAdapter.setResetCredentialsFlow
(AuthenticationFlowModel flow) void
RealmAdapter.updateAuthenticationFlow
(AuthenticationFlowModel model) -
Uses of AuthenticationFlowModel in org.keycloak.models.utils
Modifier and TypeMethodDescriptionRealmModelDelegate.addAuthenticationFlow
(AuthenticationFlowModel model) RealmModelDelegate.getAuthenticationFlowById
(String id) RealmModelDelegate.getBrowserFlow()
RealmModelDelegate.getClientAuthenticationFlow()
RealmModelDelegate.getDirectGrantFlow()
RealmModelDelegate.getDockerAuthenticationFlow()
RealmModelDelegate.getFirstBrokerLoginFlow()
RealmModelDelegate.getFlowByAlias
(String alias) RealmModelDelegate.getRegistrationFlow()
RealmModelDelegate.getResetCredentialsFlow()
static AuthenticationFlowModel
AuthenticationFlowResolver.resolveBrowserFlow
(AuthenticationSessionModel authSession) static AuthenticationFlowModel
AuthenticationFlowResolver.resolveDirectGrantFlow
(AuthenticationSessionModel authSession) static AuthenticationFlowModel
RepresentationToModel.toModel
(AuthenticationFlowRepresentation rep) Modifier and TypeMethodDescriptionRealmModelDelegate.addAuthenticationFlow
(AuthenticationFlowModel model) static void
KeycloakModelUtils.deepDeleteAuthenticationFlow
(KeycloakSession session, RealmModel realm, AuthenticationFlowModel authFlow, Runnable flowUnavailableHandler, Runnable builtinFlowHandler) Recursively remove authentication flow (including all subflows and executions) from the model storagestatic void
KeycloakModelUtils.deepFindAuthenticationExecutions
(RealmModel realm, AuthenticationFlowModel flow, List<AuthenticationExecutionModel> result) Recursively find all AuthenticationExecutionModel from specified flow or all it's subflowsstatic boolean
KeycloakModelUtils.isFlowUsed
(RealmModel realm, AuthenticationFlowModel model) Check to see if a flow is currently in usevoid
RealmModelDelegate.removeAuthenticationFlow
(AuthenticationFlowModel model) void
RealmModelDelegate.setBrowserFlow
(AuthenticationFlowModel flow) void
RealmModelDelegate.setClientAuthenticationFlow
(AuthenticationFlowModel flow) void
RealmModelDelegate.setDirectGrantFlow
(AuthenticationFlowModel flow) void
RealmModelDelegate.setDockerAuthenticationFlow
(AuthenticationFlowModel flow) void
RealmModelDelegate.setFirstBrokerLoginFlow
(AuthenticationFlowModel flow) void
RealmModelDelegate.setRegistrationFlow
(AuthenticationFlowModel flow) void
RealmModelDelegate.setResetCredentialsFlow
(AuthenticationFlowModel flow) ModelToRepresentation.toRepresentation
(KeycloakSession session, RealmModel realm, AuthenticationFlowModel model) void
RealmModelDelegate.updateAuthenticationFlow
(AuthenticationFlowModel model) -
Uses of AuthenticationFlowModel in org.keycloak.protocol
Modifier and TypeMethodDescriptionprotected AuthenticationFlowModel
AuthorizationEndpointBase.getAuthenticationFlow
(AuthenticationSessionModel authSession) -
Uses of AuthenticationFlowModel in org.keycloak.protocol.docker
Modifier and TypeMethodDescriptionprotected AuthenticationFlowModel
DockerEndpoint.getAuthenticationFlow
(AuthenticationSessionModel authSession) -
Uses of AuthenticationFlowModel in org.keycloak.protocol.saml.profile.ecp
Modifier and TypeMethodDescriptionprotected AuthenticationFlowModel
SamlEcpProfileService.getAuthenticationFlow
(AuthenticationSessionModel authSession) -
Uses of AuthenticationFlowModel in org.keycloak.services.resources
Modifier and TypeMethodDescriptionprotected jakarta.ws.rs.core.Response
LoginActionsService.processFlow
(boolean action, String execution, AuthenticationSessionModel authSession, String flowPath, AuthenticationFlowModel flow, String errorMessage, AuthenticationProcessor processor) -
Uses of AuthenticationFlowModel in org.keycloak.services.resources.admin
Modifier and TypeMethodDescriptionstatic AuthenticationFlowModel
AuthenticationManagementResource.copyFlow
(KeycloakSession session, RealmModel realm, AuthenticationFlowModel flow, String newName) AuthenticationManagementResource.getParentFlow
(AuthenticationExecutionModel model) Modifier and TypeMethodDescriptionstatic void
AuthenticationManagementResource.copy
(KeycloakSession session, RealmModel realm, String newName, AuthenticationFlowModel from, AuthenticationFlowModel to) static AuthenticationFlowModel
AuthenticationManagementResource.copyFlow
(KeycloakSession session, RealmModel realm, AuthenticationFlowModel flow, String newName) void
AuthenticationManagementResource.recurseExecutions
(AuthenticationFlowModel flow, List<AuthenticationExecutionInfoRepresentation> result, int level)