private FlowDefinitionRegistry buildDuoFlowRegistry(final DuoSecurityMultifactorAuthenticationProperties properties) {
        val modelBuilder = new DynamicFlowModelBuilder();
        createDuoFlowStartActions(properties, modelBuilder);
        createDuoFlowStates(properties, modelBuilder);
        createDuoFlowUniversalPromptActions(properties);
        return createDuoFlowDefinitionRegistry(properties, modelBuilder);
    }
This is {@link DuoSecurityMultifactorWebflowConfigurer}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-duo-core/src/main/java/org/apereo/cas/adaptors/duo/web/flow/DuoSecurityMultifactorWebflowConfigurer.java