暂无描述

ALBBSession.h 571B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // ALBBSession.h
  3. // AlibabaAuthSDK
  4. //
  5. // Created by Bangzhe Liu on 6/17/16.
  6. // Copyright © 2016 taobao. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "ALBBUser.h"
  10. @interface ALBBSession : NSObject
  11. @property(nonatomic, assign)BOOL isCanceledByUser;
  12. @property(nonatomic, copy)NSString* bindCode;
  13. /**
  14. @return 返回单例
  15. */
  16. + (ALBBSession *)sharedInstance;
  17. /**
  18. 如果未登录或者登录态已经过期,返回NO
  19. @return 当前会话是否登录有效
  20. */
  21. - (BOOL)isLogin;
  22. /**
  23. @return 返回User对象
  24. */
  25. - (ALBBUser *)getUser;
  26. @end