lpw
2022-03-14 7acec95dedc4b1175a8d1fc5a123f5d381d276f8
commit | author | age
eec5d6 1 //
L 2 //  WAQQLogin.h
3 //  WAQQImpl
4 //
5 //  Created by LPW on 2020/3/9.
6 //  Copyright © 2020 LPW. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10 #import <WASdkIntf/WASdkIntf.h>
11 #import <TencentOpenAPI/TencentOAuth.h>
12
13
14
15 NS_ASSUME_NONNULL_BEGIN
16
17 @interface WAQQLogin : NSObject
18
19 @property (nonatomic, retain)TencentOAuth *oauth;
20
21 @property (nonatomic) BOOL boundQQ;
22
23
24
25
26 +(instancetype)shareInstance;
27
28 -(void)loginWithExtInfo:(NSString *)extInfo delegate:(id<WALoginDelegate>)delegate;
29 - (void)bindingAccountWithExtInfo:(NSString *)extInfo delegate:(id<WAAccountBindingDelegate>)delegate;
30
31
32 -(void)logout;
33
34 -(void)applicationDidBecomeActive:(UIApplication *)application;
35
36 -(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation;
37
38 - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options;
39
40 - (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void(^)(NSArray<id<UIUserActivityRestoring>> * __nullable restorableObjects))restorationHandler;
41
42 - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url;
43
44
45
46 @end
47
48 NS_ASSUME_NONNULL_END