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 +:::