29 lines
699 B
C
29 lines
699 B
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/GIDAuthentication.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;
|
||
|
@end
|
||
|
|
||
|
NS_ASSUME_NONNULL_END
|