@@ -48,7 +48,7 @@ typedef void (^FUIAuthResultCallback)(FIRUser *_Nullable user, NSError *_Nullabl
48
48
49
49
/* * @fn authUI:didSignInWithAuthDataResult:error:
50
50
@brief Message sent after the sign in process has completed to report the signed in user or
51
- error encountered.
51
+ error encountered. Use this variation with Firebase 10 and earlier.
52
52
@param authUI The @c FUIAuth instance sending the message.
53
53
@param authDataResult The data result if the sign in attempt was successful.
54
54
@param url pass the deep link associated with an email link sign-in completion. It is useful
@@ -62,7 +62,22 @@ typedef void (^FUIAuthResultCallback)(FIRUser *_Nullable user, NSError *_Nullabl
62
62
63
63
/* * @fn authUI:didSignInWithAuthDataResult:error:
64
64
@brief Message sent after the sign in process has completed to report the signed in user or
65
- error encountered.
65
+ error encountered. Use this variation with Firebase 11 and later. Swift implementations
66
+ should be marked with `@objc`.
67
+ @param authUI The @c FUIAuth instance sending the message.
68
+ @param authDataResult The data result if the sign in attempt was successful.
69
+ @param url pass the deep link associated with an email link sign-in completion. It is useful
70
+ for the developer to access the state before the sign-in attempt was triggered.
71
+ @param error The error that occurred during sign in, if any.
72
+ */
73
+ - (void )authUI : (FUIAuth *)authUI
74
+ didSignInWith : (nullable FIRAuthDataResult *)authDataResult
75
+ URL : (nullable NSURL *)url
76
+ error : (nullable NSError *)error ;
77
+
78
+ /* * @fn authUI:didSignInWithAuthDataResult:error:
79
+ @brief Message sent after the sign in process has completed to report the signed in user or
80
+ error encountered. Use this variation with Firebase 10 and earlier.
66
81
@param authUI The @c FUIAuth instance sending the message.
67
82
@param authDataResult The data result if the sign in attempt was successful.
68
83
@param error The error that occurred during sign in, if any.
@@ -71,6 +86,18 @@ typedef void (^FUIAuthResultCallback)(FIRUser *_Nullable user, NSError *_Nullabl
71
86
didSignInWithAuthDataResult : (nullable FIRAuthDataResult *)authDataResult
72
87
error : (nullable NSError *)error ;
73
88
89
+ /* * @fn authUI:didSignInWithAuthDataResult:error:
90
+ @brief Message sent after the sign in process has completed to report the signed in user or
91
+ error encountered. Use this variation with Firebase 11 and later. Swift implementations
92
+ should be marked with `@objc`.
93
+ @param authUI The @c FUIAuth instance sending the message.
94
+ @param authDataResult The data result if the sign in attempt was successful.
95
+ @param error The error that occurred during sign in, if any.
96
+ */
97
+ - (void )authUI : (FUIAuth *)authUI
98
+ didSignInWith : (nullable FIRAuthDataResult *)authDataResult
99
+ error : (nullable NSError *)error ;
100
+
74
101
/* * @fn authUI:didSignInWithUser:error:
75
102
@brief This is deprecated API and will be removed in a future release.
76
103
Use @c authUI:didSignInWithAuthDataResult:error:
0 commit comments