AuthProvider backed by a host-managed SmartSession.
Adds Authorization: Bearer ... to outgoing requests, refreshes proactively before expiry, retries once on 401, and deduplicates concurrent refreshes.
The provider never caches the session — the host's getSession/setSession callbacks are the single source of truth.
AuthProviderbacked by a host-managedSmartSession.Adds
Authorization: Bearer ...to outgoing requests, refreshes proactively before expiry, retries once on 401, and deduplicates concurrent refreshes. The provider never caches the session — the host'sgetSession/setSessioncallbacks are the single source of truth.