iqm.iqm_client.cli.token_manager.write_tokens

Contents

iqm.iqm_client.cli.token_manager.write_tokens#

iqm.iqm_client.cli.token_manager.write_tokens(path_to_tokens_file: str, auth_server_url: str, status: bool, *, access_token: str = '', refresh_token: str = '') None#

Write new tokens into the tokens file.

Parameters:
  • path_to_tokens_file (str) – path to the tokens file

  • auth_server_url (str) – base URL of the auth server

  • status (bool) – refresh status, True when successful, False otherwise

  • access_token (str) – new access token

  • refresh_token (str) – new refresh token

Return type:

None