multi_role_auth 0.2.0
multi_role_auth: ^0.2.0 copied to clipboard
Reusable multi-role auth logic for Flutter apps, backed by Supabase: bloc/cubit, domain entities/usecases, and repository. No UI - screens stay app-owned.
0.2.0 #
- Add password reset by email via the
SendPasswordResetEmailuse case, routed throughAuthRepository/AuthRemoteDataSourcelike the other auth operations. Kept as a use case (not anAuthBlocevent) so it suits a "forgot password" dialog with its own loading state.
0.1.0 #
Initial real release, extracted from and validated against multi-role-flutter-auth.
- Supabase-backed email/password auth: sign up, log in, session-restore, sign-out, account deletion
- Per-user roles via
UserRole, configurable table/column names viaSupabaseSchema AuthBloc+AppUserCubitfor state management, with optionalonLogout/onAccountDeletedhost-app hooks- No UI - screens are expected to stay app-owned