lpw
2022-10-25 8a92857533324b3626c2e7c24e82b0ec3c0609c1
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;
3eecf8 25 +(void)bindingCNAccountWithPlatform:(NSString *)platform bindingResult:(WABindingResult*)bindingResult extInfo:(NSString *)extInfo  delegate:(id<WAAccountBindingDelegate>)delegate;
L 26
bf3f86 27
L 28
6e1425 29 @end