public static String getMultifactorAuthenticationProvider(final RequestContext context) {
        return context.getFlowScope().get(CasWebflowConstants.VAR_ID_MFA_PROVIDER_ID, String.class);
    }
Get the mfa provider id from flow scope.

@param context request context
@return provider id
core/cas-server-core-webflow-mfa-api/src/main/java/org/apereo/cas/web/flow/util/MultifactorAuthenticationWebflowUtils.java