| | |
| | | #import "WALoginResult.h" |
| | | #import "WABindingResult.h" |
| | | #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; |
| | | @end |
| | | |
| | | /*! |
| | | @discussion 用户中心 |
| | | - - - |
| | | */ |
| | | @protocol WAUserCenterNoticeDelegate <NSObject> |
| | | /*! |
| | | @abstract 获取用户中心数据回调接口 |
| | | @param result 用户中心数据信息 |
| | | */ |
| | | - (void)userCenterNoticeWithResult:(WAUserCenterResult *)result; |
| | | |
| | | @end |
| | | |
| | | /*! |
| | | @discussion 用户中心 |
| | | - - - |
| | | */ |
| | | @protocol WAUserCenterNoticeUIDelegate <NSObject> |
| | | /*! |
| | | @abstract 用户中心界面关闭回调接口 |
| | | */ |
| | | - (void)userCenterNoticeClose; |
| | | /*! |
| | | @abstract 用户中心界面错误回调接口 |
| | | @param error 用户中心错误信息 |
| | | */ |
| | | - (void)userCenterNoticeError:(NSError *)error; |
| | | |
| | | @end |
| | | |
| | | |
| | |
| | | */ |
| | | +(void)openAccountManager:(id<WAAcctManagerDelegate>)delegate; |
| | | |
| | | |
| | | /*! |
| | | @abstract 调用此方法打开账户管理界面 |
| | | @param delegate 委托 |
| | | */ |
| | | +(void)openAccountCenter:(id<WAAcctManagerDelegate>)delegate; |
| | | |
| | | |
| | | |
| | | |
| | | +(BOOL)isBoundPlatformAccount; |
| | | /*! |
| | | @abstract 获取账户信息 |
| | | @param platform 平台 |
| | |
| | | +(WAAppUser*)getAccountInfoWithPlatform:(NSString *const)platform; |
| | | |
| | | //+(NSString*)transferWithPlatform:(NSString *const)platform; |
| | | |
| | | + (void)getUserCenterNotice:(id<WAUserCenterNoticeDelegate>)delegate; |
| | | |
| | | + (void)showUserCenterNoticeUI:(id<WAUserCenterNoticeUIDelegate>)delegate; |
| | | |
| | | /*! |
| | | @discussion 处理UIApplicationDelegate的方法[-(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions]传递过来的参数。 |
| | |
| | | @discussion (tip:CP无需关注)获取用户模块组件 |
| | | */ |
| | | +(NSArray*)getUserComponents; |
| | | |
| | | +(void)queryUserCertificationInfo:(void(^)(WACertificationInfo *certificationInfo,NSError *error))callBackBlock; |
| | | |
| | | @end |