Skip to content

Commit 892f8fc

Browse files
committed
[auth-swift] Backend now completely in Swift (#10899)
1 parent 3364b56 commit 892f8fc

19 files changed

+927
-2924
lines changed

FirebaseAuth/Sources/Auth/FIRAuth.m

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
#import "FirebaseAuth/Sources/Auth/FIRAuthDataResult_Internal.h"
3434
#import "FirebaseAuth/Sources/Auth/FIRAuthDispatcher.h"
3535
#import "FirebaseAuth/Sources/Auth/FIRAuthGlobalWorkQueue.h"
36-
#import "FirebaseAuth/Sources/Backend/FIRAuthBackend.h"
3736
#import "FirebaseAuth/Sources/SystemService/FIRAuthStoredUserManager.h"
3837
#import "FirebaseAuth/Sources/User/FIRUser_Internal.h"
3938
#import "FirebaseAuth/Sources/Utilities/FIRAuthExceptionUtils.h"
@@ -1617,6 +1616,9 @@ - (void)scene:(UIScene *)scene
16171616
#pragma mark - Internal Methods
16181617

16191618
#if TARGET_OS_IOS
1619+
typedef void (^FIRVerifyPhoneNumberResponseCallback)(
1620+
FIRVerifyPhoneNumberResponse *_Nullable response, NSError *_Nullable error);
1621+
16201622
/** @fn signInWithPhoneCredential:callback:
16211623
@brief Signs in using a phone credential.
16221624
@param credential The Phone Auth credential used to sign in.
@@ -1704,6 +1706,8 @@ - (void)internalSignInAndRetrieveDataWithCustomToken:(NSString *)token
17041706
}];
17051707
}
17061708

1709+
typedef void (^FIRSignupNewUserCallback)(FIRSignUpNewUserResponse *_Nullable response,
1710+
NSError *_Nullable error);
17071711
/** @fn internalCreateUserWithEmail:password:completion:
17081712
@brief Makes a backend request attempting to create a new Firebase user given an email address
17091713
and password.

FirebaseAuth/Sources/Backend/FIRAuthBackend.h

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

0 commit comments

Comments
 (0)