Skip to content

Instantly share code, notes, and snippets.

@softwarejc

softwarejc/UsingPoliciesAuthorize.cs Secret

Last active Jan 31, 2016
Embed
What would you like to do?
[HttpGet]
[Authorize(CookieMonsterSecurity.OnlyGoodMonstersPolicy)]
public IActionResult Info()
{
//... something that only good monsters can do
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.