Refactor auth repo imports; remove unused flag

Consolidate and reorder imports in the client authentication repository by moving the auth_repository_interface import to the top and removing the duplicate import. Also remove the unused UnauthorizedAppException reference from the imported symbols. In the staff authentication repository, drop the unused requiresProfileSetup variable (extracted from API response) and tidy up minor whitespace—removing dead code and silencing analyzer warnings.
This commit is contained in:
Achintha Isuru
2026-03-16 22:56:15 -04:00
parent b31a615092
commit 4fca87bde1
2 changed files with 1 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
import 'dart:developer' as developer;
import 'package:client_authentication/src/domain/repositories/auth_repository_interface.dart';
import 'package:firebase_auth/firebase_auth.dart' as firebase;
import 'package:krow_core/core.dart';
import 'package:krow_domain/krow_domain.dart'
@@ -14,13 +15,10 @@ import 'package:krow_domain/krow_domain.dart'
PasswordMismatchException,
SignInFailedException,
SignUpFailedException,
UnauthorizedAppException,
User,
UserStatus,
WeakPasswordException;
import 'package:client_authentication/src/domain/repositories/auth_repository_interface.dart';
/// Production implementation of the [AuthRepositoryInterface] for the client app.
///
/// Uses Firebase Auth client-side for sign-in (to maintain local auth state for