Skip to main content

Interface: MagicToken

Defined in: type/MagicToken.ts:6

Object class for MagicToken

Properties

contact?

optional contact?: Contact

Defined in: type/MagicToken.ts:26

contact field


contactId?

optional contactId?: number

Defined in: type/MagicToken.ts:10

Identifier of the associated contact, use either contactId or customerId


customer?

optional customer?: Customer

Defined in: type/MagicToken.ts:28

customer field


customerId?

optional customerId?: number

Defined in: type/MagicToken.ts:12

Identifier of the associated customer, use either customerId or contactId


expiresAt?

optional expiresAt?: string

Defined in: type/MagicToken.ts:14

Expiration date and time of the magic token


extra?

optional extra?: string[]

Defined in: type/MagicToken.ts:24

Additional information or metadata associated with the magic token


failedLogins?

optional failedLogins?: number

Defined in: type/MagicToken.ts:18

Number of failed login attempts using the magic token


id

id: string

Defined in: type/MagicToken.ts:8

Magic token primary identifier


lastAccessedAt?

optional lastAccessedAt?: string

Defined in: type/MagicToken.ts:16

Last accessed date and time of the magic token


oneTimeUse

oneTimeUse: boolean

Defined in: type/MagicToken.ts:22

Indicates if the magic token is for one-time use only


successfulLogins?

optional successfulLogins?: number

Defined in: type/MagicToken.ts:20

Number of successful login attempts using the magic token