2023-07-14 18:50:55 +08:00
|
|
|
|
//
|
|
|
|
|
// LoginPresenter.h
|
|
|
|
|
// YUMI
|
|
|
|
|
//
|
|
|
|
|
// Created by zu on 2021/9/1.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#import "BaseMvpPresenter.h"
|
|
|
|
|
#import "YUMINNNN.h"
|
|
|
|
|
#import <GoogleSignIn/GoogleSignIn.h>
|
|
|
|
|
#import <GoogleSignIn/GIDGoogleUser.h>
|
2023-09-22 20:23:33 +08:00
|
|
|
|
#import <GoogleSignIn/GoogleSignIn-umbrella.h>
|
2023-07-14 18:50:55 +08:00
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
|
|
@interface LoginPresenter : BaseMvpPresenter
|
|
|
|
|
|
|
|
|
|
- (void)phoneQuickLogin:(NSString *)accessToken token:(NSString*) token;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// 第三方登录
|
|
|
|
|
/// @param type 登录的类型
|
|
|
|
|
- (void)thirdLoginWithType:(ThirdLoginType)type;
|
|
|
|
|
|
|
|
|
|
///第三方登录,谷歌登录
|
|
|
|
|
-(void)thirdLoginByGoogleWithPresentingViewController:(UIViewController *)presentingViewController configuration:(GIDConfiguration *)configuration;
|
2023-08-11 14:46:56 +08:00
|
|
|
|
///第三方登录,fb登录
|
|
|
|
|
-(void)thirdLoginByFBWithPresentingViewController:(UIViewController *)presentingViewController;
|
2023-12-29 16:43:37 +08:00
|
|
|
|
///第三方登录,line登录
|
|
|
|
|
-(void)thirdLoginByLine:(UIViewController *)presentingViewController;
|
2023-07-14 18:50:55 +08:00
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|