Skip to content

Commit 486b30d

Browse files
Copilotwadepickett
andauthored
Replace "marker service" with "marker interface" in IAuthorizationRequirement documentation (#36775)
* Initial plan * Replace "marker service" with "marker interface" in IAuthorizationRequirement documentation Co-authored-by: wadepickett <10985336+wadepickett@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: wadepickett <10985336+wadepickett@users.noreply.github.com>
1 parent 8c6d294 commit 486b30d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

aspnetcore/security/authorization/policies.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
---
22
title: Policy-based authorization in ASP.NET Core
3+
ai-usage: ai-assisted
34
author: wadepickett
45
description: Learn how to create and use authorization policy handlers for enforcing authorization requirements in an ASP.NET Core app.
56
monikerRange: '>= aspnetcore-3.1'
67
ms.author: wpickett
78
ms.custom: mvc
8-
ms.date: 1/5/2023
9+
ms.date: 02/17/2026
910
uid: security/authorization/policies
1011
---
1112
# Policy-based authorization in ASP.NET Core
@@ -28,7 +29,7 @@ The primary service that determines if authorization is successful is <xref:Micr
2829

2930
The preceding code highlights the two methods of the [IAuthorizationService](https://github.com/dotnet/AspNetCore/blob/v2.2.4/src/Security/Authorization/Core/src/IAuthorizationService.cs).
3031

31-
<xref:Microsoft.AspNetCore.Authorization.IAuthorizationRequirement> is a marker service with no methods, and the mechanism for tracking whether authorization is successful.
32+
<xref:Microsoft.AspNetCore.Authorization.IAuthorizationRequirement> is a marker interface with no methods, and the mechanism for tracking whether authorization is successful.
3233

3334
Each <xref:Microsoft.AspNetCore.Authorization.IAuthorizationHandler> is responsible for checking if requirements are met:
3435
<!--The following code is a copy/paste from

aspnetcore/security/authorization/policies/includes/policies5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The primary service that determines if authorization is successful is <xref:Micr
1616

1717
The preceding code highlights the two methods of the [IAuthorizationService](https://github.com/dotnet/AspNetCore/blob/v2.2.4/src/Security/Authorization/Core/src/IAuthorizationService.cs).
1818

19-
<xref:Microsoft.AspNetCore.Authorization.IAuthorizationRequirement> is a marker service with no methods, and the mechanism for tracking whether authorization is successful.
19+
<xref:Microsoft.AspNetCore.Authorization.IAuthorizationRequirement> is a marker interface with no methods, and the mechanism for tracking whether authorization is successful.
2020

2121
Each <xref:Microsoft.AspNetCore.Authorization.IAuthorizationHandler> is responsible for checking if requirements are met:
2222
<!--The following code is a copy/paste from

0 commit comments

Comments
 (0)