Support non-interactive logins #3

Open
opened 2025-10-17 03:44:31 +00:00 by khird · 0 comments
Member

The SDK at present only supports getting the password from standard input. CleverBrag's use case is that we have a Swarm profile with a password stored in the database, and the SDK would ideally provide either the option to set the password as an argument to __init__() (preferred workflow) or to a manual invocation of update_token() (less preferred but acceptable).

Definition of done:

  • the SDK allows calling code to set the password with some automated mechanism
  • in the case of token expiry, e.g. in polling, the SDK should reuse the provided password
The SDK at present only supports getting the password [from standard input](https://git.cleverthis.com/cleverlibre/cleverswarm-python-client/src/commit/cd808dc3dd2beb77b661fc0dda65fd2082596b66/src/cleverswarm_python_client/libs/cleverswarm_client.py#L159). CleverBrag's use case is that we have a Swarm profile with a password stored in the database, and the SDK would ideally provide either the option to set the password as an argument to `__init__()` (preferred workflow) or to a manual invocation of `update_token()` (less preferred but acceptable). Definition of done: - the SDK allows calling code to set the password with some automated mechanism - in the case of token expiry, e.g. in polling, the SDK should reuse the provided password
CoreRasurae added this to the v0.1 milestone 2025-10-27 16:05:55 +00:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: cleverlibre/cleverswarm-python-client#3
No description provided.