Package io.seald.seald_sdk
Class AccountInfo
-
- All Implemented Interfaces:
public final class AccountInfoAccountInfo is returned when calling SealdSDK.createAccount or SealdSDK.getCurrentAccountInfo, containing information about the local account.
-
-
Constructor Summary
Constructors Constructor Description AccountInfo(String userId, String deviceId, Instant deviceExpires)
-
Method Summary
Modifier and Type Method Description final StringgetUserId()The ID of the current user for this SDK instance. final StringgetDeviceId()The ID of the current device for this SDK instance. final InstantgetDeviceExpires()The Instant at which the current device keys expire. -
-
Method Detail
-
getDeviceId
final String getDeviceId()
The ID of the current device for this SDK instance.
-
getDeviceExpires
final Instant getDeviceExpires()
The Instant at which the current device keys expire. For continued operation, renew your device keys before this date.
nullif it is not known locally: use SealdSDK.updateCurrentDevice to retrieve it.
-
-
-
-