Skip to main content

invalidate_access_token_cache

Function invalidate_access_token_cache 

Source
pub fn invalidate_access_token_cache()
Expand description

Drop any process-cached access token.

Called by every operation in this module that changes which credential is active — login, logout, refresh, org switch, account switch/removal — so a caller never has to wait out [TOKEN_CACHE_TTL] to see its own change.