Skip to content

Commit d02b19d

Browse files
author
renkelvin
authored
Add a [Deprecated] mark to the API reference (#12287)
1 parent fbcc001 commit d02b19d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

FirebaseAuth/Sources/Public/FirebaseAuth/FIRAuth.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,8 @@ NS_SWIFT_NAME(Auth)
377377
completion:(nullable void (^)(NSError *_Nullable error))completion;
378378

379379
/** @fn fetchSignInMethodsForEmail:completion:
380-
@brief Fetches the list of all sign-in methods previously used for the provided email address.
381-
This method returns an empty list when [Email Enumeration
380+
@brief [Deprecated] Fetches the list of all sign-in methods previously used for the provided
381+
email address. This method returns an empty list when [Email Enumeration
382382
Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection)
383383
is enabled, irrespective of the number of authentication methods available for the given email.
384384
@param email The email address for which to obtain a list of sign-in methods.

FirebaseAuth/Sources/Public/FirebaseAuth/FIRUser.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ NS_SWIFT_NAME(User)
131131
- (instancetype)init NS_UNAVAILABLE;
132132

133133
/** @fn updateEmail:completion:
134-
@brief Updates the email address for the user. On success, the cached user profile data is
135-
updated. Throws FIRAuthErrorCodeInvalidCredentials error when [Email Enumeration
134+
@brief [Deprecated] Updates the email address for the user. On success, the cached user profile
135+
data is updated. Throws FIRAuthErrorCodeInvalidCredentials error when [Email Enumeration
136136
Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection)
137137
is enabled.
138138
@remarks May fail if there is already an account with this email address that was created using

0 commit comments

Comments
 (0)