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