protected Optional<MultifactorAuthenticationProvider> isMultifactorAuthenticationPossible(final RequestContext requestContext) throws Throwable {
        val user = PasswordlessWebflowUtils.getPasswordlessAuthenticationAccount(requestContext, PasswordlessUserAccount.class);
        val authentication = buildAuthentication(user);
        val service = WebUtils.getService(requestContext);
        return resolveMultifactorAuthenticationProvider(requestContext, authentication, service);
    }
This is {@link PreparePasswordlessSelectionMenuAction}.

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