From 75be83a27d89e0f32b8e31d52a5f8e2e682281f7 Mon Sep 17 00:00:00 2001
From: lpw
Date: Mon, 14 Mar 2022 09:34:15 +0800
Subject: [PATCH] 2.5.0

---
 frameworks/WASdkIntf.framework/Headers/WAUserProxy.h |   58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 58 insertions(+), 0 deletions(-)

diff --git a/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h b/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h
index 69d6f50..a9e981c 100644
--- a/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h
+++ b/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h
@@ -119,6 +119,14 @@
 @param bindResult 绑定账号信息
 */
 -(void)bindAccountDidCompleteWithResult:(WABindingResult*)bindResult;
+
+
+/*!
+@abstract 实名认证成功回调接口
+@param certificationInfo 实名认证信息
+*/
+-(void)realNameAuthtDidCompleteWithResult:(WACertificationInfo*)certificationInfo;
+
 @end
 
 /*!
@@ -319,4 +327,54 @@
 
 +(void)queryUserCertificationInfo:(void(^)(WACertificationInfo *certificationInfo,NSError *error))callBackBlock;
 
+
+/*!
+ @discussion 检测是否可以打开账号绑定、账号切换、实名认证接口
+ */
++ (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 API_AVAILABLE(ios(10.3), macos(10.14));
+
+
+
+/*!
+@discussion 打开idfa弹框授权
+ */
++ (void)openTTAAuthorizationWithCompletionHandler:(void(^)(NSError* error,NSUInteger status))block;
+
+/*!
+@discussion 隐私协议弹框
+ error 不为空时
+    status  -1  弹出了协议框,用户点击了拒绝
+            
+ error 为空
+    status 1 弹出了协议框,用户点击了同意
+    status 2 没有弹出协议框,用户之前点击过同意,无需再弹
+ */
++ (void)openPrivacyAgreementWindow:(void(^)(NSError* error,NSUInteger status))bloc;
+
 @end

--
Gitblit v1.8.0