code: public StoredCredential setRefreshToken(String refreshToken) {
      lock.lock();
      try {
        this.refreshToken = refreshToken;
      } finally {
        lock.unlock();
      }
      return this;
    }
docs: Sets the refresh token or {@code null} for none.