fix(mobile): URL changement mdp corrigée + v3.0 — multi-org, AppAuth, sécurité prod

Auth:
- profile_repository.dart: /api/auth/change-password → /api/membres/auth/change-password

Multi-org (Phase 3):
- OrgSelectorPage, OrgSwitcherBloc, OrgSwitcherEntry
- org_context_service.dart: headers X-Active-Organisation-Id + X-Active-Role

Navigation:
- MorePage: navigation conditionnelle par typeOrganisation
- Suppression adaptive_navigation (remplacé par main_navigation_layout)

Auth AppAuth:
- keycloak_webview_auth_service: fixes AppAuth Android
- AuthBloc: gestion REAUTH_REQUIS + premierLoginComplet

Onboarding:
- Nouveaux états: payment_method_page, onboarding_shared_widgets
- SouscriptionStatusModel mis à jour StatutValidationSouscription

Android:
- build.gradle: ProGuard/R8, network_security_config
- Gradle wrapper mis à jour
This commit is contained in:
dahoud
2026-04-07 20:56:03 +00:00
parent 22f9c7e9a1
commit 70cbd1c873
63 changed files with 9316 additions and 6122 deletions

View File

@@ -48,4 +48,24 @@ abstract class IMembreRepository {
/// Récupère les statistiques des membres
Future<Map<String, dynamic>> getMembresStats();
/// Réinitialise le mot de passe d'un membre — retourne le membre avec motDePasseTemporaire
Future<MembreCompletModel> resetMotDePasse(String id);
/// Affecte un membre à une organisation (superadmin uniquement)
Future<MembreCompletModel> affecterOrganisation(String membreId, String organisationId);
// ── Cycle de vie des adhésions ───────────────────────────────────────────
/// Invite un membre dans une organisation (statut INVITE, token 7j)
Future<Map<String, dynamic>> inviterMembre(String membreId, String organisationId, {String? roleOrg});
/// Active l'adhésion d'un membre (EN_ATTENTE/INVITE/SUSPENDU → ACTIF)
Future<Map<String, dynamic>> activerAdhesion(String membreId, String organisationId, {String? motif});
/// Suspend l'adhésion d'un membre (ACTIF → SUSPENDU)
Future<Map<String, dynamic>> suspendrAdhesion(String membreId, String organisationId, {String? motif});
/// Radie un membre d'une organisation
Future<Map<String, dynamic>> radierAdhesion(String membreId, String organisationId, {String? motif});
}