Type Alias: AccountInfo
AccountInfo: {
deviceExpires
:Date
;deviceId
:string
;sealdId
:string
;userId
:string
; }
AccountInfo is returned when calling sdk.getCurrentAccountInfo
or sdk.initiateIdentity
, containing information about the local account.
Type declaration
deviceExpires
deviceExpires:
Date
The date at which the current device keys expire. For continued operation, renew your device keys before this date. null
or undefined
if it is not known locally: use sdk.updateCurrentDevice
to retrieve it.
deviceId
deviceId:
string
The ID of the current device for this SDK instance.
sealdId
sealdId:
string
The ID of the current user for this SDK instance.
userId
userId:
string
Deprecated. The userId assigned to this user at registration, if any.