{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Docs/issues/1299","repository_url":"https://api.github.com/repos/aspnet/Docs","labels_url":"https://api.github.com/repos/aspnet/Docs/issues/1299/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Docs/issues/1299/comments","events_url":"https://api.github.com/repos/aspnet/Docs/issues/1299/events","html_url":"https://github.com/aspnet/Docs/issues/1299","id":157055449,"number":1299,"title":"Example using AuthorizeAsync is incorrect","user":{"login":"vkichline","id":4530830,"avatar_url":"https://avatars.githubusercontent.com/u/4530830?v=3","gravatar_id":"","url":"https://api.github.com/users/vkichline","html_url":"https://github.com/vkichline","followers_url":"https://api.github.com/users/vkichline/followers","following_url":"https://api.github.com/users/vkichline/following{/other_user}","gists_url":"https://api.github.com/users/vkichline/gists{/gist_id}","starred_url":"https://api.github.com/users/vkichline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkichline/subscriptions","organizations_url":"https://api.github.com/users/vkichline/orgs","repos_url":"https://api.github.com/users/vkichline/repos","events_url":"https://api.github.com/users/vkichline/events{/privacy}","received_events_url":"https://api.github.com/users/vkichline/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/Docs/labels/0%20-%20Backlog","name":"0 - Backlog","color":"CCCCCC"},{"url":"https://api.github.com/repos/aspnet/Docs/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/aspnet/Docs/labels/P1","name":"P1","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/aspnet/Docs/milestones/6","html_url":"https://github.com/aspnet/Docs/milestones/1.0.0","labels_url":"https://api.github.com/repos/aspnet/Docs/milestones/6/labels","id":1666171,"number":6,"title":"1.0.0","description":"","creator":{"login":"danroth27","id":1874516,"avatar_url":"https://avatars.githubusercontent.com/u/1874516?v=3","gravatar_id":"","url":"https://api.github.com/users/danroth27","html_url":"https://github.com/danroth27","followers_url":"https://api.github.com/users/danroth27/followers","following_url":"https://api.github.com/users/danroth27/following{/other_user}","gists_url":"https://api.github.com/users/danroth27/gists{/gist_id}","starred_url":"https://api.github.com/users/danroth27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danroth27/subscriptions","organizations_url":"https://api.github.com/users/danroth27/orgs","repos_url":"https://api.github.com/users/danroth27/repos","events_url":"https://api.github.com/users/danroth27/events{/privacy}","received_events_url":"https://api.github.com/users/danroth27/received_events","type":"User","site_admin":false},"open_issues":101,"closed_issues":6,"state":"open","created_at":"2016-03-25T17:49:56Z","updated_at":"2016-05-27T17:47:09Z","due_on":"2016-06-27T07:00:00Z","closed_at":null},"comments":1,"created_at":"2016-05-26T19:04:27Z","updated_at":"2016-05-27T17:48:34Z","closed_at":null,"body":"On Docs / aspnet / security / authorization / views.rst the example code:\r\n`@if` (await AuthorizationService.AuthorizeAsync(User, \"PolicyName\"))\r\n...is incorrect.  AuthorizeAsync takes three parameters.  The middle one is object resource.  It would be helpful to explain exactly what to supply as the resource."},"comment":{"url":"https://api.github.com/repos/aspnet/Docs/issues/comments/222210704","html_url":"https://github.com/aspnet/Docs/issues/1299#issuecomment-222210704","issue_url":"https://api.github.com/repos/aspnet/Docs/issues/1299","id":222210704,"user":{"login":"danroth27","id":1874516,"avatar_url":"https://avatars.githubusercontent.com/u/1874516?v=3","gravatar_id":"","url":"https://api.github.com/users/danroth27","html_url":"https://github.com/danroth27","followers_url":"https://api.github.com/users/danroth27/followers","following_url":"https://api.github.com/users/danroth27/following{/other_user}","gists_url":"https://api.github.com/users/danroth27/gists{/gist_id}","starred_url":"https://api.github.com/users/danroth27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danroth27/subscriptions","organizations_url":"https://api.github.com/users/danroth27/orgs","repos_url":"https://api.github.com/users/danroth27/repos","events_url":"https://api.github.com/users/danroth27/events{/privacy}","received_events_url":"https://api.github.com/users/danroth27/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T17:48:34Z","updated_at":"2016-05-27T17:48:34Z","body":"@blowdart can you help out with some prose for describing what the \"resource\" is?"}}
{"actor":{"display_login":"danroth27"}}