1 files added
8 files modified
| | |
| | | Pod::Spec.new do |s| |
| | | |
| | | s.name = 'WASdkIntf' |
| | | s.version = '3.8.0' |
| | | s.version = '3.8.1' |
| | | s.summary = 'WASdkIntf framework in production environment.' |
| | | s.license = 'MIT' |
| | | s.author = { "Wuyx" => "wuyixin_gh@gamehollywood.com" } |
| | |
| | | WACodeLoginPlatformClosed = 4029 ,//登录渠道已关闭 |
| | | WACodeBindAccountClosed = 4048 ,//账号绑定关闭 |
| | | WACodeUnBindAccountClosed = 4049 ,//账号解绑关闭 |
| | | WACodeUserCenterClosed = 4059 ,//用户中心未开启 |
| | | WACodeCanNotSwitchToAnonymous = 5001 , |
| | | WACodeFbObjectType = 5002 ,//facebook的objectType不能为空 |
| | | WACodeFbGiftListRequestPrameterLack = 5003 ,//请求gift列表缺少appid,appSecret,objectType参数 |
| | |
| | | -(WALoginResult*)getCurrentLoginResult; |
| | | |
| | | -(void)didUserLogin:(void(^)(NSError* error,BOOL didLogin))block; |
| | | |
| | | - (void)getUserCenterNotice:(id<WAUserCenterNoticeDelegate>)delegate; |
| | | |
| | | - (void)showUserCenterNoticeUI:(id<WAUserCenterNoticeUIDelegate>)delegate; |
| | | |
| | | @end |
| | |
| | | @property(nonatomic) NSInteger enableUnBindAccount; // 解绑: 0-关闭,1-打开 |
| | | @property(nonatomic,copy)NSString* privacyUrl; // 用户协议url |
| | | @property(nonatomic,copy)NSString* privacyUpdateTime; // 用户协议更新时间 |
| | | @property(nonatomic)NSInteger userCenterStatus; // 用户中心状态 0-关闭,1-打开 |
| | | |
| | | @end |
| | |
| | | #import <WASdkIntf/WATrackProxy.h> |
| | | #import <WASdkIntf/WABindingResult.h> |
| | | #import <WASdkIntf/WALoginResult.h> |
| | | #import <WASdkIntf/WAUserCenterResult.h> |
| | | #import <WASdkIntf/WAIUser.h> |
| | | #import <WASdkIntf/WAUserProxy.h> |
| | | #import <WASdkIntf/WAAccount.h> |
| | |
| | | |
| | | // In this header, you should import all the public headers of your framework using statements like #import <WASdkIntf/PublicHeader.h> |
| | | |
| | | //time:2019/01/15 12:30 ver:3.8.0 |
| | | //time:2019/05/14 18:32 ver:3.8.1 |
New file |
| | |
| | | // |
| | | // WAUserCenterResult.h |
| | | // WASdkIntf |
| | | // |
| | | // Created by hank on 2019/5/8. |
| | | // Copyright © 2019年 GHW-T-01. All rights reserved. |
| | | // |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | @interface WAUserCenterResult : NSObject<NSCoding,NSCopying> |
| | | |
| | | /*! |
| | | @abstract 状态码 |
| | | */ |
| | | @property NSInteger code; |
| | | /*! |
| | | @abstract 结果描述 |
| | | */ |
| | | @property(copy,nonatomic)NSString *msg; |
| | | /*! |
| | | @abstract 用户中心文字内容 |
| | | */ |
| | | @property(copy,nonatomic)NSString *userCenterInfo; |
| | | /*! |
| | | @abstract 用户名 |
| | | */ |
| | | @property(copy,nonatomic)NSString *userName; |
| | | /*! |
| | | @abstract 初始密码 |
| | | */ |
| | | @property(copy,nonatomic)NSString *password; |
| | | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | |
| | | #import "WALoginResult.h" |
| | | #import "WABindingResult.h" |
| | | #import "WAAccount.h" |
| | | #import "WAUserCenterResult.h" |
| | | #import "WAAppUser.h" |
| | | /*! |
| | | @discussion 登录协议 |
| | |
| | | -(void)switchAcctDidCompleteWithResult:(WALoginResult*)result; |
| | | @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 |
| | | |
| | | |
| | | /*! |
| | | @discussion WAUserProxy 是用户模块的代理类。功能包括设置登录流程、登录、登出、绑定、解绑、查询当前用户绑定的第三方平台账户列表、切换账号、创建账号等等。 |
| | |
| | | |
| | | //+(NSString*)transferWithPlatform:(NSString *const)platform; |
| | | |
| | | + (void)getUserCenterNotice:(id<WAUserCenterNoticeDelegate>)delegate; |
| | | |
| | | + (void)showUserCenterNoticeUI:(id<WAUserCenterNoticeUIDelegate>)delegate; |
| | | |
| | | /*! |
| | | @discussion 处理UIApplicationDelegate的方法[-(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions]传递过来的参数。 |
| | | */ |