diff options
author | Zsika Phillip <protocol86@users.noreply.github.com> | 2018-04-24 19:18:13 -0700 |
---|---|---|
committer | Paul Beusterien <paulbeusterien@google.com> | 2018-04-24 19:18:13 -0700 |
commit | 98d665b7927da3c30f86919ca810f9f6fa6a354e (patch) | |
tree | ea8bdbf7b5cea508aa0a6c4080389afe1f246053 /Firebase/Auth | |
parent | 0e506da9820507efcebd24840ccc786cb4c60b2f (diff) |
Deprecates SignInWithCredential (#1151)
Diffstat (limited to 'Firebase/Auth')
-rw-r--r-- | Firebase/Auth/Source/Public/FIRAuth.h | 7 |
1 files changed, 5 insertions, 2 deletions
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 <AvailabilityMacros.h> #import <Foundation/Foundation.h> #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 |