// // AppDelegate+XYShanYan.h // Starbuds // // Created by 翟玉磊 on 2019/12/11. // Copyright © 2019 翟玉磊. All rights reserved. // #import "AppDelegate.h" #define Wechat_icon @"login_weixin_icon" #define Sina_icon @"login_weibo_icon" #define QQ_icon @"login_qq_icon" #define Phone_icon @"login_phone" NS_ASSUME_NONNULL_BEGIN @interface AppDelegate (XYShanYan) /* 创蓝闪验初始化 */ - (void)cl_application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions; /// 创建快捷登录页(一键登录) - (void)createQulickLoginPageVC; /// 创建其他登录方式页 (第三方和手机验证码登录) - (void)createLoginPageVC; /// 拉取授权登录页 - (void)qulickLogin; /// 微信登录 - (void)wxLoginActionWithLoginType:(XY_Login_type)loginType; /// qq登录 - (void)QQLoginActionWithLoginType:(XY_Login_type)loginType; /// 新浪微博登录 - (void)sinaLoginActionWithLoginType:(XY_Login_type)loginType; /// 手机号验证码登录 - (void)phoneCodeLoginActionWithLoginType:(XY_Login_type)loginType; /// 登录操作 - (void)loginHandleSuccess:(void(^ _Nullable)(BOOL success))block; /// 退出登录 所有退出的地方都要调用此方法 - (void)logoutHandleSuccess:(void(^ _Nullable)(BOOL success))block; @end NS_ASSUME_NONNULL_END