Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions FirebaseCombineSwift/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 12.0.0
- [removed] Removed `fetchSignInMethods` Combine wrapper as the underlying API
is deprecated.

# 10.8.0
- [fixed] Use caller's encoder when setting document data (#11033).

Expand Down
25 changes: 0 additions & 25 deletions FirebaseCombineSwift/Sources/Auth/Auth+Combine.swift
Original file line number Diff line number Diff line change
Expand Up @@ -259,31 +259,6 @@ public extension Auth {
}
}

// MARK: - Email-based Authentication Helpers

/// Fetches the list of all sign-in methods previously used for the provided email address.
///
/// The publisher will emit events on the **main** thread.
///
/// - Parameter email: The email address for which to obtain a list of sign-in methods.
/// - Returns: A publisher that emits a list of sign-in methods for the specified email
/// address, or an error if one occurred. The publisher will emit on the *main* thread.
/// - Remark: Possible error codes:
/// - `AuthErrorCodeInvalidEmail` - Indicates the email address is malformed.
///
/// See `AuthErrors` for a list of error codes that are common to all API methods
func fetchSignInMethods(forEmail email: String) -> Future<[String], Error> {
Future<[String], Error> { promise in
self.fetchSignInMethods(forEmail: email) { signInMethods, error in
if let error {
promise(.failure(error))
} else if let signInMethods {
promise(.success(signInMethods))
}
}
}
}

// MARK: - Password Reset

/// Resets the password given a code sent to the user outside of the app and a new password for
Expand Down
93 changes: 0 additions & 93 deletions FirebaseCombineSwift/Tests/Unit/Auth/FetchSignInMethodsTests.swift

This file was deleted.

Loading