iqm.iqm_client.cli.auth.refresh_request#
- iqm.iqm_client.cli.auth.refresh_request(url: str, realm: str, client_id: str, refresh_token: str) dict[str, str] | None #
Sends refresh request to the authentication server.
- Raises:
Timeout – no response from auth server within the timeout period
ConnectionError – connecting the auth server failed on all retries
ClientAuthenticationError – updating the tokens failed
- Returns:
Tokens dictionary, or None if refresh_token is expired.
- Parameters:
- Return type: