| Name |
Type |
Description |
Notes |
| username |
str |
Account username. Send together with `password`. |
[optional] |
| password |
str |
Account password. Send together with `username`. |
[optional] |
| totp_token |
str |
One-time TOTP code. Required only when the account has two-factor authentication enabled, sent alongside `username`/`password`. |
[optional] |
| api_token |
str |
Persistent API key, used as an alternative to username/password for programmatic access. Created by the user (in the web UI or via `POST /v3/auth/apitoken`) rather than issued by login, and sent back verbatim as an opaque string. Also accepted directly in the `Authorization: Bearer` header, and is the value the CLI stores as `--token`. Never returned by this endpoint, and distinct from the session `token`. |
[optional] |
| token |
str |
An existing session token to renew. This is the signed JWT bearer token previously returned by login. Login always issues a newly-regenerated session token in the response; the supplied token is neither echoed back nor invalidated. Distinct from `apiToken`. |
[optional] |
| revoke_old |
bool |
Revoke previously issued tokens on success. |
[optional] |
from corellium.models.login_body import LoginBody
# TODO update the JSON string below
json = "{}"
# create an instance of LoginBody from a JSON string
login_body_instance = LoginBody.from_json(json)
# print the JSON string representation of the object
print(LoginBody.to_json())
# convert the object into a dict
login_body_dict = login_body_instance.to_dict()
# create an instance of LoginBody from a dict
login_body_from_dict = LoginBody.from_dict(login_body_dict)
[Back to Model list] [Back to API list] [Back to README]