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