Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 6 additions & 6 deletions packages/firebase_auth/firebase_auth/lib/src/firebase_auth.dart
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +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
/// - Thrown if there was a network request error, for example the user
/// doesn'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.
Expand Down Expand Up @@ -498,7 +498,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<UserCredential> signInWithCredential(AuthCredential credential) async {
try {
return UserCredential._(
Expand Down Expand Up @@ -570,12 +570,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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +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
/// - Thrown if there was a network request error, for example the user
/// doesn'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.
Expand Down Expand Up @@ -476,7 +476,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<UserCredentialPlatform> signInWithCredential(
AuthCredential credential,
) async {
Expand Down Expand Up @@ -527,12 +527,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
Expand Down