From 44ac428545148e74161102d1cab6839224857dd9 Mon Sep 17 00:00:00 2001 From: Dan Bergren <784710+bergren2@users.noreply.github.com> Date: Fri, 21 Mar 2025 12:16:11 -0500 Subject: [PATCH] fix typo --- src/routes/docs/[...2]security.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/docs/[...2]security.md b/src/routes/docs/[...2]security.md index 65542389..27f16a22 100644 --- a/src/routes/docs/[...2]security.md +++ b/src/routes/docs/[...2]security.md @@ -205,7 +205,7 @@ With this method you are specifying that if a [claims principal](https://andrewl If access should be granted only if the user has ALL the said permissions, use the **PermissionsAll()** method, otherwise access is granted if ANY of the permissions are present. The **Claim Type** which this requirement is matched against can be changed like so: ```csharp -app.UseFastEndpoints(c => c.Security.PermissionsClaimType = "...") //defaults to 'permission' +app.UseFastEndpoints(c => c.Security.PermissionsClaimType = "...") //defaults to 'permissions' ``` ### Roles() method @@ -849,4 +849,4 @@ bld.Services.AddAntiforgery(o => o.Cookie.Name = "Antiforgery") :::admonition type="info" See [this gist](https://gist.github.com/dj-nitehawk/9c25e9b66114a93556f9931688a6fb68) for an example of antiforgery token usage. -::: \ No newline at end of file +:::