Namespace WitShells.WitClientApi
Classes
- AuthService
Handles authentication flows (sign-in, sign-out, refresh) separate from WitClientManager. Methods are virtual so a project can inherit and override behavior.
- EndpointDefinition
Lightweight representation of an endpoint defined in endpoints.json
- PlayerPrefsTokenStorage
Thread-safe token storage that keeps tokens in-memory for background threads and queues PlayerPrefs writes to be flushed on the main thread. Call InitializeFromPlayerPrefs() on the main thread at startup (WitClientManager does this) and call FlushPendingWrites() periodically on the main thread (WitClientManager.Update does this).