2021-09-07 23:05:43 +08:00
|
|
|
//
|
|
|
|
// DataUtils.h
|
|
|
|
// YYFaceAuth
|
|
|
|
//
|
|
|
|
// Created by chenran on 16/10/18.
|
|
|
|
// Copyright © 2016年 zhangji. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
2021-09-13 18:56:16 +08:00
|
|
|
@class AccountModel;
|
|
|
|
@interface AccountInfoStorage : NSObject
|
|
|
|
@property (nonatomic, strong, readonly) AccountModel *accountModel;
|
2021-09-07 23:05:43 +08:00
|
|
|
+ (instancetype)instance;
|
|
|
|
|
|
|
|
- (instancetype)init NS_UNAVAILABLE;
|
|
|
|
+ (instancetype)new NS_UNAVAILABLE;
|
|
|
|
- (id)copy NS_UNAVAILABLE;
|
|
|
|
- (id)mutableCopy NS_UNAVAILABLE;
|
|
|
|
|
|
|
|
- (AccountModel *)getCurrentAccountInfo;
|
|
|
|
- (void)saveAccountInfo:(AccountModel *)accountInfo;
|
|
|
|
- (void)saveTicket:(NSString *)ticket;
|
|
|
|
- (NSString *)getTicket;
|
|
|
|
- (NSString *)getUid;
|
|
|
|
@end
|