diff --git a/packages/firebase_auth/firebase_auth/lib/src/firebase_auth.dart b/packages/firebase_auth/firebase_auth/lib/src/firebase_auth.dart index 4061d3640762..e355fba73301 100644 --- a/packages/firebase_auth/firebase_auth/lib/src/firebase_auth.dart +++ b/packages/firebase_auth/firebase_auth/lib/src/firebase_auth.dart @@ -220,11 +220,8 @@ class FirebaseAuth extends FirebasePluginPlatform { /// - Thrown if the user is no longer authenticated since his refresh token /// has been expired /// - **network-request-failed**: - /// - Thrown if there was a network request error, for example the user don't - /// don't have internet connection - /// - **operation-not-allowed**: - /// - Thrown if email/password accounts are not enabled. Enable - /// email/password accounts in the Firebase Console, under the Auth tab. + /// - Thrown if there was a network request error, for example the user + /// doesn't have internet connection Future createUserWithEmailAndPassword({ required String email, required String password, @@ -498,7 +495,7 @@ class FirebaseAuth extends FirebasePluginPlatform { /// verification code of the credential is not valid. /// - **invalid-verification-id**: /// - Thrown if the credential is a [PhoneAuthProvider.credential] and the - /// verification ID of the credential is not valid.id. + /// verification ID of the credential is not valid. Future signInWithCredential(AuthCredential credential) async { try { return UserCredential._( @@ -570,12 +567,12 @@ class FirebaseAuth extends FirebasePluginPlatform { /// - Thrown if the user is no longer authenticated since his refresh token /// has been expired /// - **network-request-failed**: - /// - Thrown if there was a network request error, for example the user don't - /// don't have internet connection + /// - Thrown if there was a network request error, for example the user + /// doesn't have internet connection /// - **INVALID_LOGIN_CREDENTIALS** or **invalid-credential**: /// - Thrown if the password is invalid for the given email, or the account /// corresponding to the email does not have a password set. - /// depending on if you are using firebase emulator or not the code is + /// Depending on if you are using firebase emulator or not the code is /// different /// - **operation-not-allowed**: /// - Thrown if email/password accounts are not enabled. Enable diff --git a/packages/firebase_auth/firebase_auth_platform_interface/lib/src/platform_interface/platform_interface_firebase_auth.dart b/packages/firebase_auth/firebase_auth_platform_interface/lib/src/platform_interface/platform_interface_firebase_auth.dart index 5e2b64f53333..7d5c1eea38ca 100644 --- a/packages/firebase_auth/firebase_auth_platform_interface/lib/src/platform_interface/platform_interface_firebase_auth.dart +++ b/packages/firebase_auth/firebase_auth_platform_interface/lib/src/platform_interface/platform_interface_firebase_auth.dart @@ -236,11 +236,8 @@ abstract class FirebaseAuthPlatform extends PlatformInterface { /// - Thrown if the user is no longer authenticated since his refresh token /// has been expired /// - **network-request-failed**: - /// - Thrown if there was a network request error, for example the user don't - /// don't have internet connection - /// - **operation-not-allowed**: - /// - Thrown if email/password accounts are not enabled. Enable - /// email/password accounts in the Firebase Console, under the Auth tab. + /// - Thrown if there was a network request error, for example the user + /// doesn't have internet connection Future createUserWithEmailAndPassword( String email, String password, @@ -476,7 +473,7 @@ abstract class FirebaseAuthPlatform extends PlatformInterface { /// verification code of the credential is not valid. /// - **invalid-verification-id**: /// - Thrown if the credential is a [PhoneAuthProvider.credential] and the - /// verification ID of the credential is not valid.id. + /// verification ID of the credential is not valid. Future signInWithCredential( AuthCredential credential, ) async { @@ -527,12 +524,12 @@ abstract class FirebaseAuthPlatform extends PlatformInterface { /// - Thrown if the user is no longer authenticated since his refresh token /// has been expired /// - **network-request-failed**: - /// - Thrown if there was a network request error, for example the user don't - /// don't have internet connection + /// - Thrown if there was a network request error, for example the user + /// doesn't have internet connection /// - **INVALID_LOGIN_CREDENTIALS** or **invalid-credential**: /// - Thrown if the password is invalid for the given email, or the account /// corresponding to the email does not have a password set. - /// depending on if you are using firebase emulator or not the code is + /// Depending on if you are using firebase emulator or not the code is /// different /// - **operation-not-allowed**: /// - Thrown if email/password accounts are not enabled. Enable