You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/firebase_auth/firebase_auth_platform_interface/lib/src/platform_interface/platform_interface_user.dart
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -277,6 +277,25 @@ abstract class UserPlatform extends PlatformInterface {
277
277
throwUnimplementedError('reauthenticateWithPopup() is not implemented');
278
278
}
279
279
280
+
/// Renews the user’s authentication using the provided auth provider instance.
281
+
/// On mobile you should use [reauthenticateWithProvider] instead.
282
+
///
283
+
/// A [FirebaseAuthException] maybe thrown with the following error code:
284
+
/// - **invalid-credential**:
285
+
/// - Thrown if the provider's credential is not valid. This can happen if it
286
+
/// has already expired when calling link, or if it used invalid token(s).
287
+
/// See the Firebase documentation for your provider, and make sure you
288
+
/// pass in the correct parameters to the credential method.
289
+
/// - **operation-not-allowed**:
290
+
/// - Thrown if you have not enabled the provider in the Firebase Console. Go
291
+
/// to the Firebase Console for your project, in the Auth section and the
292
+
/// Sign in Method tab and configure the provider.
293
+
Future<void> reauthenticateWithRedirect(
294
+
AuthProvider provider,
295
+
) {
296
+
throwUnimplementedError('reauthenticateWithRedirect() is not implemented');
297
+
}
298
+
280
299
/// Links the user account with the given provider.
281
300
///
282
301
/// A [FirebaseAuthException] maybe thrown with the following error code:
0 commit comments