@Override
    public Collection<? extends OneTimeTokenAccount> load() {
        val r = this.mongoTemplate.findAll(GoogleAuthenticatorAccount.class, this.collectionName);
        return r.stream()
            .map(this::decode)
            .filter(Objects::nonNull)
            .collect(Collectors.toList());
    }
This is {@link MongoDbGoogleAuthenticatorTokenCredentialRepository}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-gauth-mongo/src/main/java/org/apereo/cas/gauth/credential/MongoDbGoogleAuthenticatorTokenCredentialRepository.java