Skip to content

Commit 07e5ca3

Browse files
authored
[auth-swift] Backend now completely in Swift (#10899)
1 parent bc26dc4 commit 07e5ca3

19 files changed

+832
-2854
lines changed

FirebaseAuth/Sources/Auth/FIRAuth.m

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
#import "FirebaseAuth/Sources/Auth/FIRAuthDataResult_Internal.h"
3333
#import "FirebaseAuth/Sources/Auth/FIRAuthDispatcher.h"
3434
#import "FirebaseAuth/Sources/Auth/FIRAuthGlobalWorkQueue.h"
35-
#import "FirebaseAuth/Sources/Backend/FIRAuthBackend.h"
3635
#import "FirebaseAuth/Sources/SystemService/FIRAuthStoredUserManager.h"
3736
#import "FirebaseAuth/Sources/User/FIRUser_Internal.h"
3837
#import "FirebaseAuth/Sources/Utilities/FIRAuthExceptionUtils.h"
@@ -1613,6 +1612,9 @@ - (void)scene:(UIScene *)scene
16131612
#pragma mark - Internal Methods
16141613

16151614
#if TARGET_OS_IOS
1615+
typedef void (^FIRVerifyPhoneNumberResponseCallback)(
1616+
FIRVerifyPhoneNumberResponse *_Nullable response, NSError *_Nullable error);
1617+
16161618
/** @fn signInWithPhoneCredential:callback:
16171619
@brief Signs in using a phone credential.
16181620
@param credential The Phone Auth credential used to sign in.
@@ -1700,6 +1702,8 @@ - (void)internalSignInAndRetrieveDataWithCustomToken:(NSString *)token
17001702
}];
17011703
}
17021704

1705+
typedef void (^FIRSignupNewUserCallback)(FIRSignUpNewUserResponse *_Nullable response,
1706+
NSError *_Nullable error);
17031707
/** @fn internalCreateUserWithEmail:password:completion:
17041708
@brief Makes a backend request attempting to create a new Firebase user given an email address
17051709
and password.

FirebaseAuth/Sources/Backend/FIRAuthBackend.h

Lines changed: 0 additions & 141 deletions
This file was deleted.

0 commit comments

Comments
 (0)