Skip to main content

LoginRequest

Datalayer Core


Datalayer Core / LoginRequest

Interface: LoginRequest

Defined in: tech/datalayer/core/src/api/types/iam.ts:40

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: tech/datalayer/core/src/api/types/iam.ts:42

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


password?

optional password: string

Defined in: tech/datalayer/core/src/api/types/iam.ts:44

User's password for credential-based authentication


token?

optional token: string

Defined in: tech/datalayer/core/src/api/types/iam.ts:46

Authentication token for token-based authentication