From aae31c5afc3637e1946cab7164c49590292f5231 Mon Sep 17 00:00:00 2001 From: jimolinah <82810589+jimolinah@users.noreply.github.com> Date: Fri, 17 Feb 2023 10:32:19 +0100 Subject: [PATCH] Update security.md (#28433) --- aspnetcore/fundamentals/minimal-apis/security.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.