Interface: MagicToken
Defined in: type/MagicToken.ts:6
Object class for MagicToken
Properties
contact?
optionalcontact?:Contact
Defined in: type/MagicToken.ts:26
contact field
contactId?
optionalcontactId?:number
Defined in: type/MagicToken.ts:10
Identifier of the associated contact, use either contactId or customerId
customer?
optionalcustomer?:Customer
Defined in: type/MagicToken.ts:28
customer field
customerId?
optionalcustomerId?:number
Defined in: type/MagicToken.ts:12
Identifier of the associated customer, use either customerId or contactId
expiresAt?
optionalexpiresAt?:string
Defined in: type/MagicToken.ts:14
Expiration date and time of the magic token
extra?
optionalextra?:string[]
Defined in: type/MagicToken.ts:24
Additional information or metadata associated with the magic token
failedLogins?
optionalfailedLogins?: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?
optionallastAccessedAt?: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?
optionalsuccessfulLogins?:number
Defined in: type/MagicToken.ts:20
Number of successful login attempts using the magic token