Conforms: NSCoding
Extends: NSObject
Declared in: VPNUAccountUserInfo.h
- (nonnull instancetype)initWithDictionary:(nullable NSDictionary *)dictionary NS_DESIGNATED_INITIALIZER;
An initialized account info object or nil if the object couldn't be created.
@property (copy, nonatomic, nullable) NSString *accessToken;
accessToken.
@property (nonatomic, readonly, nullable) NSString *autologinURI;
Autologin URL.
@property (readonly) BOOL isConfirmed;
A boolean value which indicates if account is confirmed.
@property (readonly) BOOL isGuest;
A boolean value which indicates if account is guest(fake).
@property (readonly) BOOL isNeedConfirmation;
A boolean value which indicates if account is need confirmation..
@property (copy, nonatomic, nullable) NSString *refreshToken;
refreshToken.
@property (nonatomic, readonly, nullable) NSDate *registrationDate;
Date registration
@property (readonly) NSInteger userID;
User's account ID
@property (nonatomic, readonly, nullable) NSString *username;
Username (usually an email).