Skip to main content

TokenCacheManager

  • Namespace: PPDS.Auth.Credentials
  • Assembly: PPDS.Auth
  • Kind: Class

Summary

Manages token cache operations including clearing cached credentials.

Members

Methods

ClearAllCachesAsync

Task ClearAllCachesAsync(string tokenCachePath)

Clears the MSAL file-based token cache.

  • Param tokenCachePath: Optional path to the token cache file. If null, uses the default global path. Pass a custom path when using isolated test directories to avoid clearing production cache.