Skip to content

Commit a58512d

Browse files
authored
Add antiforgery to middleware table (#35520)
1 parent c9c38e5 commit a58512d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

aspnetcore/fundamentals/middleware/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ ms.author: tdykstra
77
ms.custom: mvc
88
ms.date: 05/03/2023
99
uid: fundamentals/middleware/index
10+
ms.ai: assisted
1011
---
1112
# ASP.NET Core Middleware
1213

@@ -274,6 +275,7 @@ ASP.NET Core ships with the following middleware components. The *Order* column
274275

275276
| Middleware | Description | Order |
276277
| ---------- | ----------- | ----- |
278+
| [Antiforgery](xref:security/anti-request-forgery) | Provides anti-request-forgery support. | After authentication and authorization, before endpoints. |
277279
| [Authentication](xref:security/authentication/identity) | Provides authentication support. | Before `HttpContext.User` is needed. Terminal for OAuth callbacks. |
278280
| [Authorization](xref:Microsoft.AspNetCore.Builder.AuthorizationAppBuilderExtensions.UseAuthorization%2A) | Provides authorization support. | Immediately after the Authentication Middleware. |
279281
| [Cookie Policy](xref:security/gdpr) | Tracks consent from users for storing personal information and enforces minimum standards for cookie fields, such as `secure` and `SameSite`. | Before middleware that issues cookies. Examples: Authentication, Session, MVC (TempData). |

aspnetcore/fundamentals/middleware/index/includes/index3-7.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -791,6 +791,7 @@ ASP.NET Core ships with the following middleware components. The *Order* column
791791

792792
| Middleware | Description | Order |
793793
| ---------- | ----------- | ----- |
794+
| [Antiforgery](xref:security/anti-request-forgery) | Provides anti-request-forgery support. | After authentication and authorization, before endpoints. |
794795
| [Authentication](xref:security/authentication/identity) | Provides authentication support. | Before `HttpContext.User` is needed. Terminal for OAuth callbacks. |
795796
| [Authorization](xref:Microsoft.AspNetCore.Builder.AuthorizationAppBuilderExtensions.UseAuthorization%2A) | Provides authorization support. | Immediately after the Authentication Middleware. |
796797
| [Cookie Policy](xref:security/gdpr) | Tracks consent from users for storing personal information and enforces minimum standards for cookie fields, such as `secure` and `SameSite`. | Before middleware that issues cookies. Examples: Authentication, Session, MVC (TempData). |

0 commit comments

Comments
 (0)