diff --git a/aspnetcore/fundamentals/minimal-apis/security.md b/aspnetcore/fundamentals/minimal-apis/security.md index e68f8bab78..13ba2b26d9 100644 --- a/aspnetcore/fundamentals/minimal-apis/security.md +++ b/aspnetcore/fundamentals/minimal-apis/security.md @@ -101,7 +101,7 @@ In the following code, that can be used to directly register authentication policies. -The code creates a new authorization policy, named `policy_greetings`, that encapsulates two authorization requirements: +The code creates a new authorization policy, named `admin_greetings`, that encapsulates two authorization requirements: - A role-based requirement via for users with an `admin` role. - A claim-based requirement via that the user must provide a `greetings_api` scope.