From 7e4de7a5e1f43269d19814268a38206fbcb2b659 Mon Sep 17 00:00:00 2001
From: lpw <812862340@qq.com>
Date: Sun, 28 Sep 2025 15:06:27 +0800
Subject: [PATCH] 提交版本 4.8.0
---
frameworks/WASdkIntf.framework/Headers/WALoginResult.h | 107 +++++++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 94 insertions(+), 13 deletions(-)
diff --git a/frameworks/WASdkIntf.framework/Headers/WALoginResult.h b/frameworks/WASdkIntf.framework/Headers/WALoginResult.h
index 82cdff2..207b8c4 100644
--- a/frameworks/WASdkIntf.framework/Headers/WALoginResult.h
+++ b/frameworks/WASdkIntf.framework/Headers/WALoginResult.h
@@ -11,7 +11,7 @@
@discussion 该类为登录结果
- - -
*/
-@interface WALoginResult : NSObject<NSCoding,NSCopying>
+@interface WALoginResult : NSObject<NSSecureCoding,NSCopying>
/*!
@abstract 状态码
*/
@@ -28,18 +28,37 @@
@abstract 在线token,(注册)登录成功的时候返回,如果传入的token未过期,直接返回原来的token,否则返回更新后的token
*/
@property(copy,nonatomic)NSString *token;
-/*!
- @abstract 用户在第三方平台的Id,GUEST登录时 值与userId一致
+
+
+
+/**
+ * @deprecated 从sdk4.5 .0 起废弃,将返回空字符串
*/
-@property(copy,nonatomic)NSString *pUserId;
+
+/*!
+ @abstract 用户在第三方平台的Id,GUEST登录时 值与userId一致 从sdk4. 5.0起废弃,将返回空字符串
+ */
+@property(copy,nonatomic)NSString *pUserId;NS_RETURNS_INNER_POINTER API_DEPRECATED("从sdk4. 5.0起废弃,将返回空字符串", unconditionally);
+
+
+/*!
+ @abstract 第三方平台token(当GUEST登录时为空,当Apple登录时,实际上是将extends转化为NSString) 从sdk4. 5.0起废弃,将返回空字符串
+ */
+@property(copy,nonatomic)NSString *pToken;NS_RETURNS_INNER_POINTER API_DEPRECATED("从sdk4. 5.0起废弃,将返回空字符串", unconditionally);
+
+
+
/*!
@abstract 平台
*/
@property(copy,nonatomic)NSString *platform;
+
+
/*!
- @abstract 第三方平台token(当GUEST登录时为空,当Apple登录时,实际上是将extends转化为NSString)
- */
-@property(copy,nonatomic)NSString *pToken;
+@abstract 第三方平台的刷新refresh_token,如微信
+*/
+@property(copy,nonatomic)NSString *refresh_token;
+
/*!
@abstract 当APPLE登录时有值,否则为空
*/
@@ -49,26 +68,88 @@
*/
@property BOOL isBindMobile;
/**!
- @abstract 是否绑定手机号 用户状态(有效用户返回):
+ @abstract 用户实名认证状态(未开启则不返回):
* 0:已实名
* 1:未实名
+ * 2:已实名-未成年(废弃)
+ 3:认证中
*/
-@property NSInteger userStatus;
+@property NSInteger userRealNameStatus;
+
+
/**!
- @abstract 登录实名验证:
+ @abstract 是否开启游戏防沉迷(未开启则无数据返回)
+ * 1:开启
+ */
+@property NSInteger gameAddiction;
+
+
+
+/**!
+ @abstract 已实名认证用户的年龄(未开启则无数据返回)
+ */
+@property NSInteger age;
+
+
+
+
+
+/**!
+ @abstract 登录实名验证: v1.4.0 废弃
* 0:不需要实名验证
* 1:提示用户实名验证,这里返回的token可作为登录及用户实名验证使用
* 2:强制用户实名验证,此时返回的仅是token是实名验证token
*/
-@property NSInteger loginRna;
+//@property NSInteger loginRna;
+
/**!
- @abstract 支付实名验证:
+ @abstract 支付实名验证: v1.4.0 废弃
* 0:不需要实名验证
* 1:提示用户实名验证
* 2:强制用户实名验证
* 注:当有该字段返回时,token可作为登录及用户实名验证使用
*/
-@property NSInteger paymentRna;
+//@property NSInteger paymentRna;
+
+
+
+/**!
+ @abstract 当前用户ID含义标识:
+ * 0:原账号
+ * 1:被绑账号
+ */
+@property (strong,nonatomic) NSString *userFlag;
+/**!
+ @abstract 是否被绑定用户
+ *
+ */
+@property BOOL isBindUser;
+
+/**! sdk 内部使用
+ @abstract 游客账号绑标示(仅游客登录返回 0-未绑定过账户 1 绑定过1个或者多个账号)
+*/
+@property NSInteger isBindAccount;
+
+
+// cp 使用
+@property int isGuestAccount; // 0 不是游客账号 1是游客账号
+
+@property(copy,nonatomic)NSString *apply_delete_status;//申请删除账号状态 0-未申请删除; 1-已申请删除
+@property(copy,nonatomic)NSString *delete_date; //apply_delete_status=1时有值,返回时间戳。
+
+
+
+/**!
+ @abstract 4.0.0添加,标记facebook登录是为受限登录
+ */
+@property BOOL fbLimit;
+
+
+@property(copy,nonatomic)NSString *picture;
+@property(copy,nonatomic)NSString *userName;
+
+
+
-(id)initWithPUserId:(NSString*)userId pToken:(NSString*)token platform:(NSString*)platform;
+(id)loginResultWithPUserId:(NSString*)userId pToken:(NSString*)token platform:(NSString*)platform;
--
Gitblit v1.8.0