26 lines
605 B
C
26 lines
605 B
C
![]() |
//
|
||
|
// DataUtils.h
|
||
|
// YYFaceAuth
|
||
|
//
|
||
|
// Created by chenran on 16/10/18.
|
||
|
// Copyright © 2016年 zhangji. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <Foundation/Foundation.h>
|
||
|
#import "AccountModel.h"
|
||
|
@interface AccountInfoStorage : NSObject
|
||
|
|
||
|
+ (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
|