LoginData

class LoginData[source]

Payload for the self-login flow.

mode: Literal['login']

Discriminator selecting the self-login (vs. impersonation) flow. Defaults server-side; existing clients that omit it keep working.

password: str

Your password.

confirm_session_termination: bool

Set to true to log in even when an active isolated session exists, which will terminate that session.

by: Literal['username']

Discriminator selecting the by-username variant. Optional on the wire; defaults server-side to ‘username’.

username: str

The username of the user.

tenant_id: str

The id of the tenant of the user.