lpw
2022-03-14 75be83a27d89e0f32b8e31d52a5f8e2e682281f7
frameworks/WASdkIntf.framework/Headers/WAIUser.h
@@ -41,6 +41,8 @@
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options;
- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url;
-(void)loginWithResult:(WALoginResult*)result delegate:(id<WALoginDelegate>)delegate;
-(void)loginWithResult:(WALoginResult*)result extInfo:(NSString*)extInfo delegate:(id<WALoginDelegate>)delegate;
@@ -49,4 +51,58 @@
-(WALoginResult*)getCurrentLoginResult;
-(void)didUserLogin:(void(^)(NSError* error,BOOL didLogin))block;
- (void)getUserCenterNotice:(id<WAUserCenterNoticeDelegate>)delegate;
- (void)showUserCenterNoticeUI:(id<WAUserCenterNoticeUIDelegate>)delegate;
-(void)queryUserCertificationInfo:(void(^)(WACertificationInfo *certificationInfo,NSError *error))callBackBlock;
//查询是否已绑定第三方账号 (国内)
-(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;
@end