2021-04-07 16:20:41 +08:00
|
|
|
//
|
|
|
|
// TDSAccountProvider.h
|
|
|
|
// TapCommonSDK
|
|
|
|
//
|
|
|
|
// Created by Bottle K on 2021/3/30.
|
|
|
|
//
|
|
|
|
|
2021-05-14 19:40:33 +08:00
|
|
|
#import <Foundation/Foundation.h>
|
2021-04-07 16:20:41 +08:00
|
|
|
#import <TapCommonSDK/TDSAccount.h>
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
@protocol TDSAccountProvider <NSObject>
|
|
|
|
|
|
|
|
- (nullable TDSAccount *)getAccount;
|
2021-05-14 19:40:33 +08:00
|
|
|
|
|
|
|
- (nullable NSDictionary *)getLocalUserInfo;
|
|
|
|
|
|
|
|
- (void)getAccountUser:(void (^)(NSDictionary *_Nullable userInfo, NSError *_Nullable error))handler;
|
2021-04-07 16:20:41 +08:00
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|