@Override
    public Collection<? extends OneTimeTokenAccount> get(final String username) {
        val accounts = fetchAccounts(username);
        accounts.forEach(entityManager::detach);
        return decode(accounts);
    }
This is {@link JpaGoogleAuthenticatorTokenCredentialRepository} that stores gauth data into a RDBMS database.

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