AccountInfo
data class AccountInfo(val userId: String, val deviceId: String, val deviceExpires: Instant?)
AccountInfo is returned when calling SealdSDK.createAccount or SealdSDK.getCurrentAccountInfo, containing information about the local account.
Constructors
AccountInfo | constructor(userId: String, deviceId: String, deviceExpires: Instant?) |
Properties
Name | Summary |
---|---|
deviceExpires | val deviceExpires: Instant? The Instant at which the current device keys expire. For continued operation, renew your device keys before this date. null if it is not known locally: use SealdSDK.updateCurrentDevice to retrieve it. |
deviceId | val deviceId: String The ID of the current device for this SDK instance. |
userId | val userId: String The ID of the current user for this SDK instance. |