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

Adding authentication extension api to enable the extending of MSAL #4859

Merged
merged 61 commits into from
Oct 18, 2024

Conversation

trwalke
Copy link
Member

@trwalke trwalke commented Jul 23, 2024

Fixes #
#4956

Changes proposed in this request
Renaming IAuthenticationScheme to IAuthenticationOperation because it is being exposed for extending.
Adding WithAuthenticationExtension api to enable external extensions.

Please see AuthenticationOperationTests.cs for a demonstration of the new api

Testing
Added unit testing.

Performance impact
N/A

Documentation

  • All relevant documentation is updated.

@trwalke trwalke changed the title Trwalke/cdt prototype Trwalke/cdt prototype (Work in progress) Jul 23, 2024
trwalke and others added 20 commits July 23, 2024 16:41
# Conflicts:
#	tests/Microsoft.Identity.Test.Unit/pop/PoPTests.cs
Adding unit tests
# Conflicts:
#	src/client/Microsoft.Identity.Client/ApiConfig/Parameters/AcquireTokenCommonParameters.cs
#	src/client/Microsoft.Identity.Client/Cache/Items/MsalAccessTokenCacheItem.cs
#	src/client/Microsoft.Identity.Client/Extensibility/AbstractConfidentialClientAcquireTokenParameterBuilderExtension.cs
#	tests/Microsoft.Identity.Test.Common/Core/Mocks/MockHttpManagerExtensions.cs
fix test
trwalke added 3 commits September 23, 2024 21:59
# Conflicts:
#	src/client/Microsoft.Identity.Client/Cache/Items/MsalAccessTokenCacheItem.cs
#	src/client/Microsoft.Identity.Client/Extensibility/AbstractConfidentialClientAcquireTokenParameterBuilderExtension.cs
#	src/client/Microsoft.Identity.Client/OAuth2/MsalTokenResponse.cs
#	tests/Microsoft.Identity.Test.Common/Core/Mocks/MockHelpers.cs
#	tests/Microsoft.Identity.Test.Common/Core/Mocks/MockHttpManagerExtensions.cs
#	tests/Microsoft.Identity.Test.Unit/PublicApiTests/ExtensiblityTests.cs
Copy link
Member

@bgavrilMS bgavrilMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with comment on the telemetry point - consider using string

clean up
@trwalke
Copy link
Member Author

trwalke commented Oct 17, 2024

API has been decided already and is being used in MISE. Will update on next release

@gladjohn
Copy link
Contributor

API has been decided already and is being used in MISE. Will update on next release

when are we planning on a MSAL release with this?

@trwalke
Copy link
Member Author

trwalke commented Oct 17, 2024

API has been decided already and is being used in MISE. Will update on next release

when are we planning on a MSAL release with this?

@gladjohn planning on releasing by tomorrow. We are going to come back and do an incremental update after this where we can add your api proposal. The api is set to experimental for the time being. We are targeting a preview release of this in MISE later this month so they need a package sooner than later.

Thanks for the review @gladjohn

@trwalke trwalke merged commit 97c51de into main Oct 18, 2024
5 checks passed
@trwalke trwalke deleted the trwalke/CDTPrototype branch October 18, 2024 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants