From 5b46ea0195764164d1c4ac9168bb7db82f83570f Mon Sep 17 00:00:00 2001 From: Chuan Ren Date: Mon, 30 Sep 2019 11:38:16 -0700 Subject: [PATCH] Add Swift notation --- Firebase/Auth/Source/Public/FIRUser.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Firebase/Auth/Source/Public/FIRUser.h b/Firebase/Auth/Source/Public/FIRUser.h index f3380ec156d..0ef51526fad 100644 --- a/Firebase/Auth/Source/Public/FIRUser.h +++ b/Firebase/Auth/Source/Public/FIRUser.h @@ -282,7 +282,8 @@ DEPRECATED_MSG_ATTRIBUTE( "Please use reauthenticateWithCredential:completion: f */ - (void)reauthenticateWithProvider:(id)provider UIDelegate:(nullable id)UIDelegate - completion:(nullable FIRAuthDataResultCallback)completion; + completion:(nullable FIRAuthDataResultCallback)completion + NS_SWIFT_NAME(reauthenticate(with:uiDelegate:completion:); /** @fn getIDTokenResultWithCompletion: @brief Retrieves the Firebase authentication token, possibly refreshing it if it has expired. @@ -386,7 +387,8 @@ DEPRECATED_MSG_ATTRIBUTE("Please use linkWithCredential:completion: for Objectiv */ - (void)linkWithProvider:(id)provider UIDelegate:(nullable id)UIDelegate - completion:(nullable FIRAuthDataResultCallback)completion; + completion:(nullable FIRAuthDataResultCallback)completion + NS_SWIFT_NAME(link(with:uiDelegate:completion:); /** @fn unlinkFromProvider:completion: @brief Disassociates a user account from a third-party identity provider with this user.