33 lines
931 B
Objective-C
33 lines
931 B
Objective-C
//
|
||
// LoginPresenter.h
|
||
// YUMI
|
||
//
|
||
// Created by zu on 2021/9/1.
|
||
//
|
||
|
||
#import "BaseMvpPresenter.h"
|
||
#import "YUMINNNN.h"
|
||
#import <GoogleSignIn/GoogleSignIn.h>
|
||
#import <GoogleSignIn/GIDGoogleUser.h>
|
||
#import <GoogleSignIn/GoogleSignIn-umbrella.h>
|
||
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;
|
||
///第三方登录,fb登录
|
||
-(void)thirdLoginByFBWithPresentingViewController:(UIViewController *)presentingViewController;
|
||
///第三方登录,line登录
|
||
-(void)thirdLoginByLine:(UIViewController *)presentingViewController;
|
||
@end
|
||
|
||
NS_ASSUME_NONNULL_END
|