iqm.iqm_client.cli.auth.login_request

Contents

iqm.iqm_client.cli.auth.login_request#

iqm.iqm_client.cli.auth.login_request(url: str, realm: str, client_id: str, username: str, password: str) dict[str, str]#

Sends login request to the authentication server.

Raises:

ClientAuthenticationError – obtaining the tokens failed

Returns:

Tokens dictionary

Parameters:
  • url (str) –

  • realm (str) –

  • client_id (str) –

  • username (str) –

  • password (str) –

Return type:

dict[str, str]