Description
In the following statement (emphasis mine) the term marker service should be replaced with marker interface for the sake of technical accuracy and to avoid confusion.
IAuthorizationRequirement is a marker service with no methods, and the mechanism for tracking whether authorization is successful.
Incidentally further below in the same article the same IAuthorizationRequirement interface is already correctly defined as a marker interface.
A requirement implements IAuthorizationRequirement, which is an empty marker interface.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/security/authorization/policies?view=aspnetcore-8.0&WT.mc_id=DT-MVP-5004452
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/security/authorization/policies.md
Document ID
7089b376-949f-c1c6-c37a-5d8cc7ecf104
Platform Id
2ff2ae4f-f6b8-67e8-2d6f-147b165b6706
Article author
@wadepickett
Metadata
- ID: b1141d92-adeb-6841-229f-914c808f9a2b
- PlatformId: 2ff2ae4f-f6b8-67e8-2d6f-147b165b6706
- Service: aspnet-core
- Sub-service: security
Related Issues
Associated WorkItem - 554206
Description
In the following statement (emphasis mine) the term
marker serviceshould be replaced withmarker interfacefor the sake of technical accuracy and to avoid confusion.Incidentally further below in the same article the same
IAuthorizationRequirementinterface is already correctly defined as amarker interface.Page URL
https://learn.microsoft.com/en-us/aspnet/core/security/authorization/policies?view=aspnetcore-8.0&WT.mc_id=DT-MVP-5004452
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/security/authorization/policies.md
Document ID
7089b376-949f-c1c6-c37a-5d8cc7ecf104
Platform Id
2ff2ae4f-f6b8-67e8-2d6f-147b165b6706
Article author
@wadepickett
Metadata
Related Issues
Associated WorkItem - 554206