1020 B
1020 B
Feature Manifest: Staff Authentication
Overview
Feature Name: Staff Authentication & Onboarding
Package Path: packages/features/staff/authentication
Responsibilities
- Handle user sign-up and log-in via Phone Auth.
- Verify OTP codes.
- Manage the Onboarding Wizard for new staff.
- Persist onboarding progress.
Architecture
- Domain:
AuthRepositoryInterfaceSignInWithPhoneUseCaseVerifyOtpUseCase
- Data:
AuthRepositoryImpl(usesAuthRepositoryMockfromkrow_data_connect)
- Presentation:
AuthBloc: Manages auth state (phone, otp, user status).OnboardingBloc: Manages wizard steps.- Pages:
GetStartedPage,PhoneVerificationPage,ProfileSetupPage.
Dependencies
krow_domain: User entities.krow_data_connect: Auth mocks.design_system: UI components.
Routes
/: Get Started (Welcome)/phone-verification: OTP Entry/profile-setup: Onboarding Wizard