Revise IAuthorizationRequirementData article details - #37347
Merged
Conversation
Updated the article to clarify that the IAuthorizationRequirementData interface is supported only in Minimal APIs. Adjusted the sample app description to specify the endpoint and the age requirement.
Clarified that IAuthorizationRequirementData isn't supported in Razor components.
Clarified that IAuthorizationRequirementData is not supported for certain authorization attributes, including Razor components and SignalR hub classes.
wadepickett
approved these changes
Jul 20, 2026
Collaborator
Author
|
Thx @wadepickett! @halter73 ... Do u want to review? |
Collaborator
Author
|
@halter73 ... Do you want to review this? |
Clarified the context of the article and removed unsupported authorization attributes list.
Update the date for the document on custom authorization policies.
Collaborator
Author
|
@wadepickett ... May I have a re-approval on the reduced set of updates? The rest of this has been moved over to Ilona's PR, so this just makes a minor update WRT the BWA sample app's use of a Minimal API (and mentioning the endpoint in passing). |
wadepickett
approved these changes
Jul 29, 2026
wadepickett
left a comment
Contributor
There was a problem hiding this comment.
@guardrex: Looks good, re-approved.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #37340
The original set of changes included remarks on support for
IAuthorizationRequirementData, but we're moving that over to Ilona's PR at #37393.What this PR is going to do now is just call out that the BWA demonstrates use with a Minimal API endpoint ...
... using the same
AuthorizationHandlerthat I found in the original MVC sample.Internal previews