API
RequireClaim
Requires a claim of the named type with an allowed value.
Formal Syntax & Structure
csharp syntaxcsharp
policy.RequireClaim("permission", "review")Working Example
Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.policy.RequireClaim("permission", "review")