hank
2017-06-06 e395b54eb89ecf58dc5adaf9acd363696a1b2f83
commit | author | age
6e1425 1 //
H 2 //  WASDKAcountBinding.h
3 //  WASDKUI
4 //
5 //  Created by wuyx on 15/7/8.
6 //  Copyright (c) 2015年 GHW-T-01. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10 #import <WASdkIntf/WASdkIntf.h>
11 #import <WACommon/WACommon.h>
12 @interface WASdkAccountBinding : NSObject
13 @property(nonatomic,copy)NSString* userId;
14 @property(nonatomic,copy)NSString* preUserId;
15 @property(nonatomic,copy)NSString* prePlatform;
16 @property(nonatomic,copy)NSString* platform;
17 @property(nonatomic,copy)NSString* accessToken;
18 @property(nonatomic,copy)NSString* extInfo;
19
20 +(void)bindingAccountWithPlatform:(NSString *)platform bindingResult:(WABindingResult*)bindingResult extInfo:(NSString *)extInfo  delegate:(id<WAAccountBindingDelegate>)delegate;
21 +(void)queryBindedThirdPartyAccountWithCompleteBlock:(void(^)(NSError* error,NSArray<WAAccount *>* accounts))block;
22 +(void)queryBindedAccountWithCompleteBlock:(void(^)(NSError* error,NSArray* accounts))block;
23 +(void)unBindAccount:(WAAccount*)account block:(void(^)(NSError* error))block;
24 +(void)unBindAccount:(NSString*)platform userId:(NSString*)pUserId block:(void(^)(NSError* error))block;
25 @end