Skip to content

class SealdAccountInfo ​

objc
@interface SealdAccountInfo : NSObject

SealdAccountInfo is returned when calling SealdSdk.createAccountWithSignupJwt:deviceName:displayName:expireAfter:error: or getCurrentAccountInfo (SealdSdk), containing information about the local account.

MembersDescriptions
userIdThe ID of the current user for this SDK instance.
deviceIdThe ID of the current device for this SDK instance.
deviceExpiresThe date at which the current device keys expire. For continued operation, renew your device keys before this date. nil if it is not known locally: use updateCurrentDeviceWithError: (SealdSdk) to retrieve it.

userId ​

objc
@property (strong, readonly) NSString * userId;

The ID of the current user for this SDK instance.

deviceId ​

objc
@property (strong, readonly) NSString * deviceId;

The ID of the current device for this SDK instance.

deviceExpires ​

objc
@property (strong, readonly) NSDate * deviceExpires;

The date at which the current device keys expire. For continued operation, renew your device keys before this date. nil if it is not known locally: use updateCurrentDeviceWithError: (SealdSdk) to retrieve it.