private void createStateDisplaySelectionMenu(final Flow flow) {
        val viewState = createViewState(flow, CasWebflowConstants.STATE_ID_PASSWORDLESS_DISPLAY_SELECTION_MENU, "passwordless/casPasswordlessSelectionMenuView");
        viewState.getRenderActionList().add(createEvaluateAction(CasWebflowConstants.ACTION_ID_PASSWORDLESS_PREPARE_SELECTION_MENU));
        createTransitionForState(viewState, CasWebflowConstants.TRANSITION_ID_ERROR, CasWebflowConstants.STATE_ID_PASSWORDLESS_GET_USERID);
        createTransitionForState(viewState, CasWebflowConstants.TRANSITION_ID_SUBMIT, CasWebflowConstants.STATE_ID_PASSWORDLESS_ACCEPT_SELECTION_MENU);

        val acceptState = createActionState(flow, CasWebflowConstants.STATE_ID_PASSWORDLESS_ACCEPT_SELECTION_MENU,
            CasWebflowConstants.ACTION_ID_PASSWORDLESS_ACCEPT_SELECTION_MENU);
        createTransitionForState(acceptState, CasWebflowConstants.TRANSITION_ID_PROMPT, getPromptTargetStateId(flow));
        createTransitionForState(acceptState, CasWebflowConstants.TRANSITION_ID_DISPLAY, CasWebflowConstants.STATE_ID_PASSWORDLESS_DISPLAY);
        createTransitionForState(acceptState, CasWebflowConstants.TRANSITION_ID_MFA, CasWebflowConstants.STATE_ID_PASSWORDLESS_DETERMINE_MFA);
        createTransitionForState(acceptState, CasWebflowConstants.TRANSITION_ID_DELEGATED_AUTHENTICATION_REDIRECT, CasWebflowConstants.STATE_ID_PASSWORDLESS_DETERMINE_DELEGATED_AUTHN);
        createTransitionForState(acceptState, CasWebflowConstants.TRANSITION_ID_ERROR, CasWebflowConstants.STATE_ID_PASSWORDLESS_GET_USERID);
    }
This is {@link PasswordlessAuthenticationWebflowConfigurer}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-passwordless-webflow/src/main/java/org/apereo/cas/web/flow/PasswordlessAuthenticationWebflowConfigurer.java