Skip to content

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.

@ghost ghost 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 requested a review from halter73 June 12, 2024 16:59
@mikekistler mikekistler merged commit 05ac25d into main Jun 18, 2024
@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.

3 participants