iblrig.net.install_alyx_token

iblrig.net.install_alyx_token(base_url, token)[source]

Save Alyx token sent from remote device.

Saves an Alyx token into the ONE params for a given database instance.

Parameters:
  • base_url (str) – The Alyx database URL.

  • token (dict[str, dict]) – The token in the form {username: {‘token’: token}}.

Returns:

True if the token was far a user not already cached.

Return type:

bool