Types > UserLogin
Commerce APITypesUserLogin
UserLogin

Description

Topic: Auth

Fields

email: String

Email of the user

Example: "no+spam@mail.com"

Valid when: email is not empty


fingerprint: String

Your device fingerprint (internal, temporary, used for debug purposes)


oauth_code: String

OAuth2 authorization code provided by the provider


oauth_provider: OAuth2Provider

OAuth2 provider used for registering this account


password: String

The user's password

Example: "34hb5kj3h45k3"


timezone_hint: String

Timezone hint. Used as a hint when implicitly creating the user.

Example: "(GMT-05:00) Eastern Time"

Valid when: timezone_hint's length doesn't exceed 50 characters


tos_agree: Boolean

It has to be set to true and signifies that you agree with Lana TOS

Example: true


trusted: Boolean

Whether to mark device as trusted upon successful login

Example: true


two_factor_code: String

Two factor auth verification code

Example: "545346"


Used By

Mutations

authLogin

Preview (typescript)

Loading module