Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add auth emulator support to public API. #6624

Merged
merged 2 commits into from
Oct 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions FirebaseAuth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Unreleased
- [removed] Remove deprecated APIs `dataForKey`,`fetchProvidersForEmail:completion`, `signInAndRetrieveDataWithCredential:completion`, `reauthenticateAndRetrieveDataWithCredential:completion`, `linkAndRetrieveDataWithCredential:completion`. (#6607)
- [added] Add support for the auth emulator. (#6624)

# v6.9.1
- [fixed] Internal source documentation. (#6371)
Expand Down
5 changes: 0 additions & 5 deletions FirebaseAuth/Sources/Auth/FIRAuth_Internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,6 @@ NS_ASSUME_NONNULL_BEGIN
- (FIRAuthDataResultCallback)signInFlowAuthDataResultCallbackByDecoratingCallback:
(nullable FIRAuthDataResultCallback)callback;

/** @fn useEmulatorWithHost:port
@brief Configures Firebase Auth to connect to an emulated host instead of the remote backend.
*/
- (void)useEmulatorWithHost:(NSString *)host port:(NSInteger)port;

@end

NS_ASSUME_NONNULL_END
5 changes: 5 additions & 0 deletions FirebaseAuth/Sources/Public/FirebaseAuth/FIRAuth.h
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,11 @@ NS_SWIFT_NAME(Auth)
*/
- (void)useAppLanguage;

/** @fn useEmulatorWithHost:port
@brief Configures Firebase Auth to connect to an emulated host instead of the remote backend.
*/
- (void)useEmulatorWithHost:(NSString *)host port:(NSInteger)port;

#if TARGET_OS_IOS

/** @fn canHandleURL:
Expand Down