Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identity cache logger updates #3404

Merged
merged 73 commits into from
Jul 27, 2022
Merged

Conversation

trwalke
Copy link
Member

@trwalke trwalke commented Jun 20, 2022

Fixes #

Changes proposed in this request
Exposes the Identity Logger to the cache serialization via the TokenCacheNotificationArgs
The exposed IdentityLogger is a wrapper around the original identity logger where we are able to format the logged messages with the relevant MSAL information.

Testing
Unit test

Performance impact

trwalke added 30 commits March 23, 2022 23:41
Clean Up
Clean Up
…gerUpdates

# Conflicts:
#	src/client/Microsoft.Identity.Client/Instance/Region/RegionManager.cs
#	src/client/Microsoft.Identity.Client/Internal/Broker/NullBroker.cs
#	src/client/Microsoft.Identity.Client/Microsoft.Identity.Client.csproj
#	src/client/Microsoft.Identity.Client/Platforms/Android/Broker/AndroidAccountManagerBroker.cs
#	src/client/Microsoft.Identity.Client/Platforms/Android/Broker/AndroidContentProviderBroker.cs
#	src/client/Microsoft.Identity.Client/Platforms/netcore/NetCorePlatformProxy.cs
#	src/client/Microsoft.Identity.Client/TokenCache.ITokenCacheInternal.cs
#	src/client/Microsoft.Identity.Client/TokenCacheNotificationArgs.cs
#	src/client/Microsoft.Identity.Client/Utils/EnumerableExtensions.cs
#	tests/Microsoft.Identity.Test.Common/Core/Helpers/AppAccessorWithPartitionAsserts.cs
#	tests/Microsoft.Identity.Test.Unit/AuthorityAliasesTests.cs
#	tests/Microsoft.Identity.Test.Unit/CoreTests/HttpTests/HttpManagerTests.cs
Refactoring
This reverts commit 82491f8.
@trwalke trwalke enabled auto-merge (squash) July 26, 2022 03:57
@trwalke trwalke disabled auto-merge July 26, 2022 05:39
@trwalke trwalke enabled auto-merge (squash) July 26, 2022 05:40
@trwalke trwalke closed this Jul 26, 2022
auto-merge was automatically disabled July 26, 2022 05:40

Pull request was closed

@trwalke trwalke reopened this Jul 26, 2022
@trwalke trwalke enabled auto-merge (squash) July 26, 2022 05:40
@trwalke trwalke merged commit 9db0bae into main Jul 27, 2022
@trwalke trwalke deleted the trwalke/IdentityCacheLoggerUpdates branch July 27, 2022 15:14
@pmaytak
Copy link
Contributor

pmaytak commented Aug 4, 2022

Released in 4.46.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Feature Request] Add new logger interface that is in alignment with SAL/Wilson/MISE
3 participants