TDSAccountProvider.h 441 B

12345678910111213141516171819202122
  1. //
  2. // TDSAccountProvider.h
  3. // TapCommonSDK
  4. //
  5. // Created by Bottle K on 2021/3/30.
  6. //
  7. #import <Foundation/Foundation.h>
  8. #import <TapCommonSDK/TDSAccount.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @protocol TDSAccountProvider <NSObject>
  11. - (nullable TDSAccount *)getAccount;
  12. - (nullable NSDictionary *)getLocalUserInfo;
  13. - (void)getAccountUser:(void (^)(NSDictionary *_Nullable userInfo, NSError *_Nullable error))handler;
  14. @end
  15. NS_ASSUME_NONNULL_END