docs: public Credential setFromTokenResponse(TokenResponse tokenResponse) {
      setAccessToken(tokenResponse.getAccessToken());
      // handle case of having a refresh token previous, but no refresh token in current
      // response
      if (tokenResponse.getRefreshToken() != null) {
        setRefreshToken(tokenResponse.getRefreshToken());
      }
      setExpiresInSeconds(tokenResponse.getExpiresInSeconds());
      return this;
    }