-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Add docs for Negotiate, OAuth, OpenIdConnect #26610
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
Conversation
/// <param name="context"></param> | ||
/// <param name="scheme"></param> | ||
/// <param name="options"></param> | ||
/// <inheritdoc /> |
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.
I didn't know you could inherit doc like this? So what exactly is the result of mixing summary an inheritdoc?
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.
It picks the docs from the base type for the values that weren't supplied - in this case, the docs for the parameters.
src/Security/Authentication/Negotiate/src/Events/ChallengeContext.cs
Outdated
Show resolved
Hide resolved
@Tratcher could you look when you get a chance? |
src/Security/Authentication/Negotiate/src/NegotiateExtensions.cs
Outdated
Show resolved
Hide resolved
src/Security/Authentication/Negotiate/src/NegotiateExtensions.cs
Outdated
Show resolved
Hide resolved
@@ -13,10 +13,14 @@ namespace Microsoft.AspNetCore.Authentication.OAuth.Claims | |||
/// </summary> | |||
public class MapAllClaimsAction : ClaimAction | |||
{ | |||
/// <summary> | |||
/// Initializes a new instance of <see cref="MapAllClaimsAction"/>. |
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.
Why do you use See when referring to the current type?
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.
It makes it hyperlink back to the type in the docs. Also makes it so that the doc can be refactored if the type is renamed
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.
We're not suppose to rename types Pranav 😁
src/Security/Authentication/OpenIdConnect/src/Events/OpenIdConnectEvents.cs
Outdated
Show resolved
Hide resolved
src/Security/Authentication/OpenIdConnect/src/Events/OpenIdConnectEvents.cs
Outdated
Show resolved
Hide resolved
src/Security/Authentication/OpenIdConnect/src/Events/TokenValidatedContext.cs
Outdated
Show resolved
Hide resolved
src/Security/Authentication/OpenIdConnect/src/Events/TokenValidatedContext.cs
Outdated
Show resolved
Hide resolved
src/Security/Authentication/OpenIdConnect/src/OpenIdConnectExtensions.cs
Outdated
Show resolved
Hide resolved
protected HttpClient Backchannel => Options.Backchannel; | ||
|
||
/// <summary> | ||
/// Gets the <see cref="System.Text.Encodings.Web.HtmlEncoder"/>. |
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.
Namespace?
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.
It resolves to the property otherwise. We want to the point to the type. Btw, the property is unused from what I could tell.
src/Security/Authentication/Negotiate/src/NegotiateExtensions.cs
Outdated
Show resolved
Hide resolved
@@ -13,10 +13,14 @@ namespace Microsoft.AspNetCore.Authentication.OAuth.Claims | |||
/// </summary> | |||
public class MapAllClaimsAction : ClaimAction | |||
{ | |||
/// <summary> | |||
/// Initializes a new instance of <see cref="MapAllClaimsAction"/>. |
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.
It makes it hyperlink back to the type in the docs. Also makes it so that the doc can be refactored if the type is renamed
src/Security/Authentication/OpenIdConnect/src/Events/OpenIdConnectEvents.cs
Outdated
Show resolved
Hide resolved
src/Security/Authentication/OpenIdConnect/src/OpenIdConnectExtensions.cs
Outdated
Show resolved
Hide resolved
src/Security/Authentication/OpenIdConnect/src/OpenIdConnectExtensions.cs
Outdated
Show resolved
Hide resolved
src/Security/Authentication/OpenIdConnect/src/OpenIdConnectExtensions.cs
Outdated
Show resolved
Hide resolved
protected HttpClient Backchannel => Options.Backchannel; | ||
|
||
/// <summary> | ||
/// Gets the <see cref="System.Text.Encodings.Web.HtmlEncoder"/>. |
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.
It resolves to the property otherwise. We want to the point to the type. Btw, the property is unused from what I could tell.
Co-authored-by: Chris Ross <[email protected]>
Contributes to #26397