@Override
    public void remove(final String uid) {
        try (val keys = getGoogleAuthenticatorTokenKeys(uid)) {
            val redisKey = keys.collect(Collectors.toSet());
            LOGGER.trace("Deleting tokens for [{}] using key [{}]", uid, redisKey);
            this.template.delete(redisKey);
            LOGGER.trace("Deleted tokens [{}]", redisKey);
        }
    }
This is {@link GoogleAuthenticatorRedisTokenRepository}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-gauth-redis/src/main/java/org/apereo/cas/gauth/token/GoogleAuthenticatorRedisTokenRepository.java