File tree Expand file tree Collapse file tree 3 files changed +4
-118
lines changed Expand file tree Collapse file tree 3 files changed +4
-118
lines changed Original file line number Diff line number Diff line change
1
+ # 12.0.0
2
+ - [ removed] Removed ` fetchSignInMethods ` Combine wrapper as the underlying API
3
+ is deprecated.
4
+
1
5
# 10.8.0
2
6
- [ fixed] Use caller's encoder when setting document data (#11033 ).
3
7
Original file line number Diff line number Diff line change @@ -259,31 +259,6 @@ public extension Auth {
259
259
}
260
260
}
261
261
262
- // MARK: - Email-based Authentication Helpers
263
-
264
- /// Fetches the list of all sign-in methods previously used for the provided email address.
265
- ///
266
- /// The publisher will emit events on the **main** thread.
267
- ///
268
- /// - Parameter email: The email address for which to obtain a list of sign-in methods.
269
- /// - Returns: A publisher that emits a list of sign-in methods for the specified email
270
- /// address, or an error if one occurred. The publisher will emit on the *main* thread.
271
- /// - Remark: Possible error codes:
272
- /// - `AuthErrorCodeInvalidEmail` - Indicates the email address is malformed.
273
- ///
274
- /// See `AuthErrors` for a list of error codes that are common to all API methods
275
- func fetchSignInMethods( forEmail email: String ) -> Future < [ String ] , Error > {
276
- Future < [ String ] , Error > { promise in
277
- self . fetchSignInMethods ( forEmail: email) { signInMethods, error in
278
- if let error {
279
- promise ( . failure( error) )
280
- } else if let signInMethods {
281
- promise ( . success( signInMethods) )
282
- }
283
- }
284
- }
285
- }
286
-
287
262
// MARK: - Password Reset
288
263
289
264
/// Resets the password given a code sent to the user outside of the app and a new password for
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments