Skip to content

Commit

Permalink
Add Swift notation
Browse files Browse the repository at this point in the history
  • Loading branch information
renkelvin committed Sep 30, 2019
1 parent 7d03916 commit 5b46ea0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Firebase/Auth/Source/Public/FIRUser.h
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,8 @@ DEPRECATED_MSG_ATTRIBUTE( "Please use reauthenticateWithCredential:completion: f
*/
- (void)reauthenticateWithProvider:(id<FIRFederatedAuthProvider>)provider
UIDelegate:(nullable id<FIRAuthUIDelegate>)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.
Expand Down Expand Up @@ -386,7 +387,8 @@ DEPRECATED_MSG_ATTRIBUTE("Please use linkWithCredential:completion: for Objectiv
*/
- (void)linkWithProvider:(id<FIRFederatedAuthProvider>)provider
UIDelegate:(nullable id<FIRAuthUIDelegate>)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.
Expand Down

0 comments on commit 5b46ea0

Please sign in to comment.