@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        @ConditionalOnMissingBean(name = "simplePasswordlessUserAccountStore")
        public BeanSupplier<PasswordlessUserAccountStore> simplePasswordlessUserAccountStore(
            final List<PasswordlessUserAccountCustomizer> customizerList,
            final ConfigurableApplicationContext applicationContext,
            final CasConfigurationProperties casProperties) {
            val allAccounts = casProperties.getAuthn().getPasswordless().getAccounts()
                .getSimple()
                .entrySet()
                .stream()
                .collect(Collectors.toMap(Map.Entry::getKey, entry -> {
                    val account = new PasswordlessUserAccount();
                    account.setUsername(entry.getKey());
                    account.setName(entry.getKey());
                    if (EmailValidator.getInstance().isValid(entry.getValue())) {
                        account.setEmail(entry.getValue());
                    } else {
                        account.setPhone(entry.getValue());
                    }
                    return account;
                }));
            return BeanSupplier.of(PasswordlessUserAccountStore.class)
                .when(() -> !allAccounts.isEmpty())
                .supply(() -> new SimplePasswordlessUserAccountStore(allAccounts, applicationContext, customizerList))
                .otherwiseNull();
        }
This is {@link CasPasswordlessAuthenticationAutoConfiguration}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-passwordless-authentication/src/main/java/org/apereo/cas/config/CasPasswordlessAuthenticationAutoConfiguration.java