client/api/api_client library
Classes
- ApiClient
-
Singleton Dio instance factory.
One instance per
ApiVersion— all share the same auth strategy and cookie jar. Instances are cached so repeated access is free. - AuthEvents
- ForbiddenEvent
- Emitted when the server returns 403.
- Emitted when the server returns 401 — app should refresh token or logout.