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

Improve doc in IAuthenticationHandler #56196

Merged
merged 3 commits into from
Jun 18, 2024
Merged

Improve doc in IAuthenticationHandler #56196

merged 3 commits into from
Jun 18, 2024

Conversation

mikekistler
Copy link
Contributor

Clarify "current request" in method descriptions in IAuthenticationHandler

Clarified that the "current request" was passed to the InitializeAsync and thus stored within the instance somewhere.

Description

I think the prior wording was confusing because the methods in question take no parameter, so it was unclear how the method determined the "current request".

No issue opened, as that would have doubled the work required for this small change.

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions label Jun 11, 2024
@mikekistler
Copy link
Contributor Author

@halter73 I think the fix is even easier than what I first proposed -- we just need to make clear that the HttpContext passed to InitializeAsync is for the "current request". Take a look at my new commit and let me know what you think.

@mikekistler mikekistler merged commit 05ac25d into main Jun 18, 2024
26 checks passed
@mikekistler mikekistler deleted the mdk/doc-fix branch June 18, 2024 16:10
@dotnet-policy-service dotnet-policy-service bot added this to the 9.0-preview6 milestone Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants