From 98d665b7927da3c30f86919ca810f9f6fa6a354e Mon Sep 17 00:00:00 2001 From: Zsika Phillip Date: Tue, 24 Apr 2018 19:18:13 -0700 Subject: Deprecates SignInWithCredential (#1151) --- Firebase/Auth/Source/Public/FIRAuth.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Firebase/Auth') diff --git a/Firebase/Auth/Source/Public/FIRAuth.h b/Firebase/Auth/Source/Public/FIRAuth.h index 236dd10..711e4b6 100644 --- a/Firebase/Auth/Source/Public/FIRAuth.h +++ b/Firebase/Auth/Source/Public/FIRAuth.h @@ -14,6 +14,7 @@ * limitations under the License. */ +#import #import #import "FIRAuthErrors.h" @@ -426,11 +427,13 @@ NS_SWIFT_NAME(Auth) completion:(nullable FIRAuthDataResultCallback)completion; /** @fn signInWithCredential:completion: - @brief Convenience method for `signInAndRetrieveDataWithCredential:completion:` This method + @brief Please use `signInAndRetrieveDataWithCredential:completion:` instead. This method doesn't return additional identity provider data. */ - (void)signInWithCredential:(FIRAuthCredential *)credential - completion:(nullable FIRAuthResultCallback)completion; + completion:(nullable FIRAuthResultCallback)completion + DEPRECATED_MSG_ATTRIBUTE("signInWithCredential: is deprecated. Please use " + "signInAndRetrieveDataWithCredential:completion:` instead."); /** @fn signInAndRetrieveDataWithCredential:completion: @brief Asynchronously signs in to Firebase with the given 3rd-party credentials (e.g. a Facebook -- cgit v1.2.3