From 2457d93622015b41229cd438bcde68c1bcf729c4 Mon Sep 17 00:00:00 2001
From: lpw
Date: Wed, 14 Jun 2023 09:33:00 +0800
Subject: [PATCH] 添加V2.8.0

---
 frameworks/WASdkIntf.framework/Headers/WAIUser.h |   85 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 84 insertions(+), 1 deletions(-)

diff --git a/frameworks/WASdkIntf.framework/Headers/WAIUser.h b/frameworks/WASdkIntf.framework/Headers/WAIUser.h
index 673dd56..69ffdbe 100644
--- a/frameworks/WASdkIntf.framework/Headers/WAIUser.h
+++ b/frameworks/WASdkIntf.framework/Headers/WAIUser.h
@@ -8,7 +8,8 @@
 
 #import <Foundation/Foundation.h>
 #import <UIKit/UIKit.h>
-#import "WAUserProxy.h"
+#import <WASdkIntf/WAUserProxy.h>
+#import <WASdkIntf/WASdkIntf.h>
 @interface WAIUser : NSObject
 -(void)setLoginFlowType:(int)flowType;
 -(int)getLoginFlowType;
@@ -17,6 +18,7 @@
 -(void)logout;
 -(void)bindingAccountWithExtInfo:(NSString*)extInfo delegate:(id<WAAccountBindingDelegate>)delegate;
 -(void)bindingAccountWithPlatform:(NSString *const)platform bindingResult:(WABindingResult*)bindingResult extInfo:(NSString *)extInfo  delegate:(id<WAAccountBindingDelegate>)delegate;
+
 -(void)queryBoundAccountWithCompleteBlock:(void(^)(NSError* error,NSArray<WAAccount *>* accounts))block;
 -(void)unBindAccountWithPlatform:(NSString *const)platform platformUserId:(NSString *)pUserId completeBlock:(void (^)(NSError *))completeBlock;
 -(void)switchAccountWithPlatform:(NSString *const)platform completeBlock:(void (^)(NSError *, WALoginResult *))completeBlock;
@@ -61,4 +63,85 @@
 //查询是否已绑定第三方账号 (国内)
 -(BOOL)isBoundPlatformAccount;
 
+/*!
+ @discussion 检测是否可以打开账号绑定、账号切换、实名认证接口
+			 如果返回NO,没有登录  canOpenRealNameAuth 已经实名
+ */
+- (BOOL)canOpenAccoutbind;
+- (BOOL)canOpenAccoutSwitch;
+- (BOOL)canOpenRealNameAuth;
+
+/*!
+@discussion 打开账户绑定界面
+*/
+- (void)openAccoutbindManager:(void(^)(NSError* error,WABindingResult  * bindResult))block;
+
+
+/*!
+@discussion 打开账户切换界面
+*/
+- (void)openAccoutSwithchManager:(void(^)(NSError* error,WALoginResult  * loginResult))block;
+
+
+/*!
+@discussion 打开实名认证界面
+*/
+- (void)openRealNameAuthManager:(void(^)(NSError* error,WACertificationInfo  * certificationInfo))block;
+
+
+
+/*!
+@discussion 打开as评分弹框
+*/
+- (void)openReview;
+
+
+/*!
+@discussion 打开idfa弹框授权 status状态与 ATTrackingManagerAuthorizationStatus 一致
+ */
+- (void)openTTAAuthorizationWithCompletionHandler:(void(^)(NSError* error,NSUInteger status))block;
+
+/*!
+@discussion 隐私协议弹框
+ */
+- (void)openPrivacyAgreementWindow:(void(^)(NSError* error,NSUInteger status))block;
+
+
+
+
+
+//****************************************账号删除有关接口*********************************************************************
+/*!
+@discussion 检测是否可调用玩家身份确认接口
+ */
+- (BOOL) canCheckIdentity;
+
+
+
+//玩家身份确认接口
+- (void)identityCheck:(NSString*)realName idCard:(NSString*)idCard completeBlock:(void(^)(NSError* error))block;
+
+//删除账号授权,拿到第三方的token信息,如 signinwithapple拿到authorizationCode
+-(void)deleteAccounAuthorizationWithPlatform:(NSString*)platform completeBlock:(void(^)(NSError* error,WADeleteRequestModel*deleteResult))block;
+
+/*!
+@discussion 账号删除
+ */
+- (void)requestDeleteAccout:(WADeleteRequestModel*)deleteResult completeBlock:(void(^)(NSError* error,WADeleteResult*result))completeBlock;
+// 取消删除
+-(void)cancelRequestDeleteAccoutWithUserid:(NSString*)userid callback:(void (^)(NSError *))completeBlock;
+
+
+
+- (void)requestDeleteAccoutUI:(void(^)(NSError *error, NSUInteger status))completeBlock;
+
+
+
+
+/*!
+@discussion 打开游戏评分功能
+ */
+- (void)openGameReview:(void(^)(OpenGameReviewState status))block;
+
+
 @end

--
Gitblit v1.8.0