@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        @ConditionalOnMissingBean(name = CasWebflowConstants.ACTION_ID_OTP_AUTHENTICATION_ACTION)
        public Action oneTimeTokenAuthenticationWebflowAction(
            final ConfigurableApplicationContext applicationContext,
            final CasConfigurationProperties casProperties,
            @Qualifier("oneTimeTokenAuthenticationWebflowEventResolver")
            final CasWebflowEventResolver oneTimeTokenAuthenticationWebflowEventResolver) {
            return WebflowActionBeanSupplier.builder()
                .withApplicationContext(applicationContext)
                .withProperties(casProperties)
                .withAction(() -> new OneTimeTokenAuthenticationWebflowAction(oneTimeTokenAuthenticationWebflowEventResolver))
                .withId(CasWebflowConstants.ACTION_ID_OTP_AUTHENTICATION_ACTION)
                .build()
                .get();
        }
This is {@link CasOneTimeTokenAuthenticationAutoConfiguration}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-otp-mfa/src/main/java/org/apereo/cas/config/CasOneTimeTokenAuthenticationAutoConfiguration.java