Expand description
Organisation-level ticket caching
Caches org-level tickets locally to avoid repeated API calls. Tickets are automatically refreshed when expired.
Structs§
- Cached
OrgTicket - Cached org ticket with metadata
Functions§
- clear
- Clear the cached org ticket
- get_
fresh_ for_ writes - Get a fresh org ticket for write operations
- get_
optional - Get org ticket if API key is configured, otherwise return None
- get_
or_ refresh - Get a valid org ticket, fetching from API if needed
- load
- Load a cached org ticket from disk
- refresh
- Force refresh the org ticket from the API
- store
- Store an org ticket response to disk