@Bean
    @ConditionalOnMissingBean(name = "simpleMfaComponentSerializationPlanConfigurer")
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public ComponentSerializationPlanConfigurer simpleMfaComponentSerializationPlanConfigurer() {
        return plan -> plan.registerSerializableClass(CasSimpleMultifactorTokenCredential.class);
    }
This is {@link CasSimpleMultifactorAuthenticationComponentSerializationConfiguration}.

@author Misagh Moayyed
@since 6.0.0
support/cas-server-support-simple-mfa/src/main/java/org/apereo/cas/config/CasSimpleMultifactorAuthenticationComponentSerializationConfiguration.java