Update policies.md
parent
7847cb031e
commit
2e3970ffb1
|
@ -57,7 +57,7 @@ public class AlcoholPurchaseRequirementsController : Controller
|
|||
|
||||
## Requirements
|
||||
|
||||
An authorization requirement is a collection of data parameters that a policy can use to evaluate the current user principal. In our Minimum Age policy the requirement we have a single parameter, the minimum age. A requirement must implement `IAuthorizationRequirement`. This is an empty, marker interface. A parameterized minimum age requirement might be implemented as follows;
|
||||
An authorization requirement is a collection of data parameters that a policy can use to evaluate the current user principal. In our Minimum Age policy the requirement we have is a single parameter, the minimum age. A requirement must implement `IAuthorizationRequirement`. This is an empty, marker interface. A parameterized minimum age requirement might be implemented as follows;
|
||||
|
||||
<!-- literal_block {"ids": [], "names": [], "highlight_args": {}, "backrefs": [], "dupnames": [], "linenos": false, "classes": [], "xml:space": "preserve", "language": "c#"} -->
|
||||
|
||||
|
|
Loading…
Reference in New Issue