pub fn get_or_refresh(config: &CliConfig) -> Result<CachedOrgTicket>Expand description
Get a valid org ticket, fetching from API if needed
This function:
- Tries to load a cached ticket
- If cached ticket is valid (not expired), returns it
- If no cache or expired, fetches a new ticket from the API
- Caches the new ticket and returns it