-
Notifications
You must be signed in to change notification settings - Fork 2
Memsource Auth
Robin Černín edited this page Oct 11, 2019
·
3 revisions
$ memsource auth login --user-name $MEMSOURCE_USERNAME --password "${MEMSOURCE_PASSWORD}"
+---------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+---------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| user | {"first_name": "Robin", "last_name": "Cernin", "user_name": "robincernin", "email": "[email protected]", "role": "ADMIN", "id": "380294", "uid": "i0joEXVYjvh6821clw6Qm5"} |
| token | [CENSORED] |
| expires | 2019-10-12 00:02:28+00:00 |
+---------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
$ memsource auth whoami
+--------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+--------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| user | {"first_name": "Robin", "last_name": "Cernin", "user_name": "robincernin", "email": "[email protected]", "role": "ADMIN", "id": "380294", "uid": "i0joEXVYjvh6821clw6Qm5"} |
| csrf_token | None |
| organization | {"id": "107427", "name": "Red Hat"} |
| edition | {"id": null, "name": "DEVELOPER", "title": null} |
| features | {"reject_jobs": true} |
+--------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+