-
Notifications
You must be signed in to change notification settings - Fork 334
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
Soft deprecate WithAuthority on request level #3697
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @bgavrilMS
do we want to add an obsolete(false) attribute?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/client/Microsoft.Identity.Client/ApiConfig/AbstractAcquireTokenParameterBuilder.cs
Show resolved
Hide resolved
I had a long conversation with Azure SDK folks about this and they advise against it. This is because of diamond dependencies again, which can cause warnings. I think the sceanrio is like this:
So they recommend just hiding obsolete APIs. CC: @pmaytak @neha-bhargava @SameerK-MSFT @trwalke @gladjohn |
Fixes #3716
Changes proposed in this request
Hide
WithAuthority
methods.Testing
Performance impact
Documentation