Skip to content

Interface: LoginRequest

Interface: LoginRequest

Defined in: dto/auth.ts:50

POST /auth/login request body.

Properties

app_code?

optional app_code?: string

Defined in: dto/auth.ts:57

Scopes the issued token to a registered consuming app (AUDIT 8.3). Required by default; falls back to AUTH_DEFAULT_APP_CODE or AUTH_ALLOW_BASE_USER_LOGIN per server config.


email

email: string

Defined in: dto/auth.ts:51


organization_id?

optional organization_id?: string

Defined in: dto/auth.ts:53


password

password: string

Defined in: dto/auth.ts:52


remember_me?

optional remember_me?: boolean

Defined in: dto/auth.ts:58


two_factor_code?

optional two_factor_code?: string

Defined in: dto/auth.ts:62

6-digit TOTP for accounts with 2FA active (AUDIT C4). Omit on the first attempt; the server responds 401 with {requires_2fa: true} and the client retries with this set.