@Override
    public OneTimeTokenAccount get(final String username, final long id) {
        val r = facilitator.find(username, id);
        return Optional.ofNullable(r).map(this::decode).orElse(null);
    }
This is {@link DynamoDbGoogleAuthenticatorTokenCredentialRepository}.

@author Misagh Moayyed
@since 6.5.0
support/cas-server-support-gauth-dynamodb/src/main/java/org/apereo/cas/gauth/credential/DynamoDbGoogleAuthenticatorTokenCredentialRepository.java