public static void ClearRefreshTokens(this ITokenCacheAccessor accessor) { foreach (var item in accessor.GetAllRefreshTokens()) { accessor.DeleteRefreshToken(item.GetKey()); } }
/// <inheritdoc /> public void DeleteRefreshToken(MsalRefreshTokenCacheKey cacheKey) { _tokenCacheAccessor.DeleteRefreshToken(cacheKey); }