@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public PasswordlessTokenRepository passwordlessTokenRepository(
            @Qualifier("mongoDbPasswordlessAuthenticationTokensTemplate") final MongoOperations mongoDbPasswordlessAuthenticationTokensTemplate,
            @Qualifier("passwordlessCipherExecutor") final CipherExecutor passwordlessCipherExecutor,
            final CasConfigurationProperties casProperties) {
            val tokens = casProperties.getAuthn().getPasswordless().getTokens();
            val expiration = Beans.newDuration(tokens.getCore().getExpiration()).toSeconds();
            return new MongoDbPasswordlessTokenRepository(tokens.getMongo(), expiration,
                passwordlessCipherExecutor, mongoDbPasswordlessAuthenticationTokensTemplate);
        }
This is {@link CasMongoDbPasswordlessAuthenticationAutoConfiguration}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-passwordless-mongo/src/main/java/org/apereo/cas/config/CasMongoDbPasswordlessAuthenticationAutoConfiguration.java