-
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
Changes from all commits
6e9529a
194da25
2d8c0c9
2548970
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 commentThe 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 commentThe 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 commentThe reason will be displayed to describe this comment to others. Learn more. We're not suppose to rename types Pranav 😁 |
||
/// </summary> | ||
public MapAllClaimsAction() : base("All", ClaimValueTypes.String) | ||
{ | ||
} | ||
|
||
/// <inheritdoc /> | ||
public override void Run(JsonElement userData, ClaimsIdentity identity, string issuer) | ||
{ | ||
foreach (var pair in userData.EnumerateObject()) | ||
|
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.