Skip to content

Commit d7a6d21

Browse files
authored
Update cookie.md
Moved include to within .NET 10 moniker range.
1 parent f406310 commit d7a6d21

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

aspnetcore/security/authentication/cookie.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ By [Rick Anderson](https://twitter.com/RickAndMSFT)
1919

2020
For demonstration purposes in the sample app, the user account for the hypothetical user, Maria Rodriguez, is hardcoded into the app. Use the **Email** address `maria.rodriguez@contoso.com` and any password to sign in the user. The user is authenticated in the `AuthenticateUser` method in the `Pages/Account/Login.cshtml.cs` file. In a real-world example, the user would be authenticated against a datastore.
2121

22+
:::moniker range=">= aspnetcore-10.0"
2223
[!INCLUDE[](~/includes/api-endpoint-auth.md)]
24+
:::moniker-end
2325

2426
## Add cookie authentication
2527

0 commit comments

Comments
 (0)