From f4a58ef56f70254779b43a9c03b71d327af1b63d Mon Sep 17 00:00:00 2001 From: Rick Clephas Date: Mon, 12 Dec 2022 18:25:04 +0100 Subject: [PATCH] [Firebase/Auth] Fixed User.Reauthenticate signature --- source/Firebase/Auth/ApiDefinition.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Firebase/Auth/ApiDefinition.cs b/source/Firebase/Auth/ApiDefinition.cs index ce2ee0db6..a89db42b9 100644 --- a/source/Firebase/Auth/ApiDefinition.cs +++ b/source/Firebase/Auth/ApiDefinition.cs @@ -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 _Nonnull)provider UIDelegate:(id _Nullable)UIDelegate completion:(FIRAuthDataResultCallback _Nullable)completion __attribute__((swift_name("reauthenticate(with:uiDelegate:completion:)"))) __attribute__((availability(ios, introduced=8.0))); [Async]