| | |
| | | #import "WAAccount.h" |
| | | #import "WAUserCenterResult.h" |
| | | #import "WAAppUser.h" |
| | | #import "WACertificationInfo.h" |
| | | /*! |
| | | @discussion 登录协议 |
| | | - - - |
| | |
| | | -(void)loginViewDidCancel:(WALoginResult*)result; |
| | | @end |
| | | |
| | | |
| | | |
| | | |
| | | /*! |
| | | @discussion 账号管理界面协议 |
| | | - - - |
| | |
| | | @param result 切换账户的账户信息 |
| | | */ |
| | | -(void)switchAcctDidCompleteWithResult:(WALoginResult*)result; |
| | | |
| | | /*! |
| | | @abstract 绑定账号回调接口 |
| | | @param bindResult 绑定账号信息 |
| | | */ |
| | | -(void)bindAccountDidCompleteWithResult:(WABindingResult*)bindResult; |
| | | |
| | | |
| | | /*! |
| | | @abstract 实名认证成功回调接口 |
| | | @param certificationInfo 实名认证信息 |
| | | */ |
| | | -(void)realNameAuthtDidCompleteWithResult:(WACertificationInfo*)certificationInfo; |
| | | |
| | | @end |
| | | |
| | | /*! |
| | |
| | | */ |
| | | +(void)openAccountManager:(id<WAAcctManagerDelegate>)delegate; |
| | | |
| | | |
| | | /*! |
| | | @abstract 调用此方法打开账户管理界面 |
| | | @param delegate 委托 |
| | | */ |
| | | +(void)openAccountCenter:(id<WAAcctManagerDelegate>)delegate; |
| | | |
| | | |
| | | |
| | | |
| | | +(BOOL)isBoundPlatformAccount; |
| | | /*! |
| | | @abstract 获取账户信息 |
| | | @param platform 平台 |
| | |
| | | @discussion (tip:CP无需关注)获取用户模块组件 |
| | | */ |
| | | +(NSArray*)getUserComponents; |
| | | |
| | | +(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)); |
| | | |
| | | |
| | | |
| | | @end |