<PackageReference Include="Microsoft.Identity.Client" Version="4.91.0" />

Microsoft.Identity.Client.Cache.CacheKeyFactory

static class CacheKeyFactory
public static string GetAppTokenCacheItemKey(string clientId, string tenantId, string popKid, SortedList<string, string> cacheKeyComponents = null)

public static string GetExternalCacheKeyFromResponse(AuthenticationRequestParameters requestParameters, string homeAccountIdFromResponse)

public static string GetIdTokenKeyFromCachedItem(MsalAccessTokenCacheItem accessTokenCacheItem)

public static string GetInternalPartitionKeyFromResponse(AuthenticationRequestParameters requestParameters, string homeAccountIdFromResponse)

public static string GetKeyFromAccount(MsalAccountCacheItem accountCacheItem)

public static string GetKeyFromCachedItem(MsalAccessTokenCacheItem accessTokenCacheItem)

public static string GetKeyFromCachedItem(MsalRefreshTokenCacheItem refreshTokenCacheItem)

public static string GetKeyFromCachedItem(MsalIdTokenCacheItem idTokenCacheItem)

public static string GetKeyFromCachedItem(MsalAccountCacheItem accountCacheItem)

public static string GetKeyFromRequest(AuthenticationRequestParameters requestParameters)

public static string GetOboKey(string oboCacheKey, UserAssertion userAssertion)

public static string GetOboKey(string oboCacheKey, string homeAccountId)