Skip to content

Conversation

@gladjohn
Copy link
Contributor

Fixes #5392

Changes proposed in this request
This pull request focuses on cleaning up deprecated code and improving test coverage for the AuthenticationResult class in the Microsoft Identity Client library. The most notable changes include the removal of [Obsolete] attributes from certain constructors and the addition of a comprehensive unit test to validate the consistency of the "for-test" constructor.

Removal of deprecated attributes:

  • Removed [Obsolete] and [EditorBrowsable(EditorBrowsableState.Never)] attributes from two constructors in the AuthenticationResult class to make them publicly accessible again. These constructors were previously marked as deprecated but are now intended for continued use. (src/client/Microsoft.Identity.Client/AuthenticationResult.cs, [1] [2]

Improvements in test coverage:

Testing
unit

Performance impact
none

Documentation

  • All relevant documentation is updated.

@gladjohn gladjohn requested a review from a team as a code owner July 21, 2025 16:27
@gladjohn gladjohn force-pushed the gladjohn/msal-fix-bkchange branch from 95abaa6 to 4b78d93 Compare July 21, 2025 16:32
@gladjohn gladjohn enabled auto-merge (squash) July 21, 2025 17:02
@gladjohn gladjohn merged commit 973f234 into main Jul 21, 2025
11 checks passed
@gladjohn gladjohn deleted the gladjohn/msal-fix-bkchange branch July 21, 2025 17:06
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.

[Bug] AuthenticationResult has no public constructor

6 participants