Skip to main content

LoginRequest

Datalayer Core


Datalayer Core / LoginRequest

Interface: LoginRequest

Defined in: src/models/IAM.ts:18

Request payload for user login LoginRequest

Must provide either:

  • handle + password for credential-based authentication
  • token for token-based authentication

Both methods cannot be used simultaneously.

Properties

handle?

optional handle: string

Defined in: src/models/IAM.ts:20

User handle (username/email) for credential-based authentication


password?

optional password: string

Defined in: src/models/IAM.ts:22

User's password for credential-based authentication


token?

optional token: string

Defined in: src/models/IAM.ts:24

Authentication token for token-based authentication