Table of Contents

Namespace WitShells.WitClientApi

Classes

ApiClientManager
ApiConfig
ApiEnvelope
AuthService

Handles authentication flows (sign-in, sign-out, refresh) separate from WitClientManager. Methods are virtual so a project can inherit and override behavior.

DefaultHttpHandler
EndpointDefinition

Lightweight representation of an endpoint defined in endpoints.json

HttpRequest
HttpRequestBuilder
HttpRequestExtensions
HttpResponse
Json
JsonEndpointReader
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).

ResponseParser
TokenResponse

Interfaces

IAuthService
IHttpHandler
ITokenStorage

Enums

ApiConfig.EnvironmentOption