UMSocialDataManager.h 968 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // UMSocialDataManager.h
  3. // UMSocialSDK
  4. //
  5. // Created by umeng on 16/8/9.
  6. // Copyright © 2016年 dongjianxiong. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "UMSocialPlatformConfig.h"
  10. extern NSString *const kUMSocialAuthUID;
  11. extern NSString *const kUMSocialAuthAccessToken;
  12. extern NSString *const kUMSocialAuthExpireDate;
  13. extern NSString *const kUMSocialAuthRefreshToken;
  14. extern NSString *const kUMSocialAuthOpenID;
  15. @interface UMSocialDataManager : NSObject
  16. + (UMSocialDataManager *)defaultManager;
  17. @property (nonatomic, strong, readonly) NSMutableDictionary *allAuthorUserInfo;
  18. - (void)setAuthorUserInfo:(NSDictionary *)userInfo platform:(UMSocialPlatformType)platformType;
  19. - (NSDictionary *)getAuthorUserInfoWithPlatform:(UMSocialPlatformType)platformType;
  20. - (void)deleteAuthorUserInfoWithPlatform:(UMSocialPlatformType)platformType;
  21. - (BOOL)isAuth:(UMSocialPlatformType)platformType;
  22. - (void)clearAllAuthorUserInfo;
  23. @end