Function writeSsoCache

  • Write a cached SSO token to disk atomically. Creates the cache directory if it doesn't exist.

    Parameters

    • configDir: string

      Resolved config directory path.

    • profile: SsoProfile

      SSO profile (used to derive the cache filename).

    • entry: SsoCacheEntry

      Token data to persist.

    Returns Promise<void>