SignInResponse.password constructor

const SignInResponse.password({
  1. required String idToken,
  2. String? email,
  3. required String refreshToken,
  4. required String expiresIn,
  5. required String localId,
  6. @Default(false) bool registered,
})

Implementation

const factory SignInResponse.password({
  /// A Firebase Auth ID token for the authenticated user.
  required String idToken,

  /// The email for the authenticated user.
  String? email,

  /// A Firebase Auth refresh token for the authenticated user.
  required String refreshToken,

  /// The number of seconds in which the ID token expires.
  required String expiresIn,

  /// The uid of the authenticated user.
  required String localId,

  /// Whether the email is for an existing account.
  @Default(false) bool registered,
}) = PasswordSignInResponse;