protected Optional<MultifactorAuthenticationProvider> resolveMultifactorAuthenticationProvider(
        final RequestContext requestContext, final Authentication authentication,
        final WebApplicationService service) {
        try {
            val request = WebUtils.getHttpServletRequestFromExternalWebflowContext(requestContext);
            val response = WebUtils.getHttpServletResponseFromExternalWebflowContext(requestContext);
            val registeredService = WebUtils.getRegisteredService(requestContext);
            return multifactorTriggerSelectionStrategy.resolve(request, response, registeredService, authentication, service);
        } catch (final Throwable e) {
            LoggingUtils.error(LOGGER, e);
        }
        return Optional.empty();
    }
Should delegate authentication for user?

@param requestContext the request context
@param user           the user
@return true/false
support/cas-server-support-passwordless-webflow/src/main/java/org/apereo/cas/web/flow/BasePasswordlessCasWebflowAction.java