Skip to content

Instantly share code, notes, and snippets.

Last active January 31, 2016 07:57
What would you like to do?
// Configure authorization
services.AddAuthorization(options => options.AddPolicy(CookieMonsterSecurity.OnlyGoodMonstersPolicy, policy =>
// Our own requirement logic...
policy.AddRequirements(new IsGoodMonsterRequirement());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment