@Override
    public GoogleAuthenticatorToken get(final String uid, final Integer otp) {
        val redisKey = getGoogleAuthenticatorTokenRedisKey(uid, otp);
        val ops = this.template.boundValueOps(redisKey);
        LOGGER.trace("Locating token by identifier [{}] using key [{}]", uid, redisKey);
        return ops.get();
    }
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