Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Firebase/Auth] Fixed User.Reauthenticate signature #591

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/Firebase/Auth/ApiDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -924,10 +924,10 @@ interface User : UserInfo
[Export ("reloadWithCompletion:")]
void Reload ([NullAllowed] UserProfileChangeHandler completion);

// -(void)reauthenticateWithCredential:(FIRAuthCredential * _Nonnull)credential completion:(FIRUserProfileChangeCallback _Nullable)completion;
// -(void)reauthenticateWithCredential:(FIRAuthCredential * _Nonnull)credential completion:(FIRAuthDataResultCallback _Nullable)completion;
[Async]
[Export ("reauthenticateWithCredential:completion:")]
void Reauthenticate (AuthCredential credential, [NullAllowed] UserProfileChangeHandler completion);
void Reauthenticate (AuthCredential credential, [NullAllowed] AuthDataResultHandler completion);

// -(void)reauthenticateWithProvider:(id<FIRFederatedAuthProvider> _Nonnull)provider UIDelegate:(id<FIRAuthUIDelegate> _Nullable)UIDelegate completion:(FIRAuthDataResultCallback _Nullable)completion __attribute__((swift_name("reauthenticate(with:uiDelegate:completion:)"))) __attribute__((availability(ios, introduced=8.0)));
[Async]
Expand Down