{"action":"created","issue":{"url":"https://api.github.com/repos/NancyFx/Nancy/issues/1820","labels_url":"https://api.github.com/repos/NancyFx/Nancy/issues/1820/labels{/name}","comments_url":"https://api.github.com/repos/NancyFx/Nancy/issues/1820/comments","events_url":"https://api.github.com/repos/NancyFx/Nancy/issues/1820/events","html_url":"https://github.com/NancyFx/Nancy/pull/1820","id":58260322,"number":1820,"title":"[WIP] Replacing current \"user\" objects with ClaimsPrincipal/ClaimsIdentity","user":{"login":"damianh","id":57436,"avatar_url":"https://avatars.githubusercontent.com/u/57436?v=3","gravatar_id":"","url":"https://api.github.com/users/damianh","html_url":"https://github.com/damianh","followers_url":"https://api.github.com/users/damianh/followers","following_url":"https://api.github.com/users/damianh/following{/other_user}","gists_url":"https://api.github.com/users/damianh/gists{/gist_id}","starred_url":"https://api.github.com/users/damianh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianh/subscriptions","organizations_url":"https://api.github.com/users/damianh/orgs","repos_url":"https://api.github.com/users/damianh/repos","events_url":"https://api.github.com/users/damianh/events{/privacy}","received_events_url":"https://api.github.com/users/damianh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NancyFx/Nancy/labels/Breaking%20Change","name":"Breaking Change","color":"e102d8"}],"state":"open","locked":false,"assignee":{"login":"damianh","id":57436,"avatar_url":"https://avatars.githubusercontent.com/u/57436?v=3","gravatar_id":"","url":"https://api.github.com/users/damianh","html_url":"https://github.com/damianh","followers_url":"https://api.github.com/users/damianh/followers","following_url":"https://api.github.com/users/damianh/following{/other_user}","gists_url":"https://api.github.com/users/damianh/gists{/gist_id}","starred_url":"https://api.github.com/users/damianh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianh/subscriptions","organizations_url":"https://api.github.com/users/damianh/orgs","repos_url":"https://api.github.com/users/damianh/repos","events_url":"https://api.github.com/users/damianh/events{/privacy}","received_events_url":"https://api.github.com/users/damianh/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/NancyFx/Nancy/milestones/38","html_url":"https://github.com/NancyFx/Nancy/milestones/2.0","labels_url":"https://api.github.com/repos/NancyFx/Nancy/milestones/38/labels","id":965127,"number":38,"title":"2.0","description":"Authentication update to use the (horrible) .net 4.5 style ClaimsPrincipal.","creator":{"login":"grumpydev","id":527013,"avatar_url":"https://avatars.githubusercontent.com/u/527013?v=3","gravatar_id":"","url":"https://api.github.com/users/grumpydev","html_url":"https://github.com/grumpydev","followers_url":"https://api.github.com/users/grumpydev/followers","following_url":"https://api.github.com/users/grumpydev/following{/other_user}","gists_url":"https://api.github.com/users/grumpydev/gists{/gist_id}","starred_url":"https://api.github.com/users/grumpydev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grumpydev/subscriptions","organizations_url":"https://api.github.com/users/grumpydev/orgs","repos_url":"https://api.github.com/users/grumpydev/repos","events_url":"https://api.github.com/users/grumpydev/events{/privacy}","received_events_url":"https://api.github.com/users/grumpydev/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2015-02-04T09:08:48Z","updated_at":"2015-03-08T16:14:54Z","due_on":null,"closed_at":null},"comments":26,"created_at":"2015-02-19T19:59:15Z","updated_at":"2015-03-12T09:12:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/NancyFx/Nancy/pulls/1820","html_url":"https://github.com/NancyFx/Nancy/pull/1820","diff_url":"https://github.com/NancyFx/Nancy/pull/1820.diff","patch_url":"https://github.com/NancyFx/Nancy/pull/1820.patch"},"body":"PR to fix #1800\r\n\r\n## Mandatory:\r\n\r\n- [x] Remove IUserIdentity\r\n- [x] Replace UserIdentityExtensions with a version that has the same (as much as possible - will need to be updated for the new, correct, structure of a claim) API but uses ClaimsPrincipal\r\n- [x] Update SecurityHooks to use the new extensions and claim structure\r\n- [x] Update ModuleSecurity to use the new extensions and claim structure\r\n- [x] Update NancyContext to use ClaimsIdentiy/Principal\r\n- [ ] Allow the principal to \"flow\" from hosting\r\n- [ ] Update OWIN to automatically flow the identity\r\n- [ ] Update tests\r\n\r\n## Preferred:\r\n\r\n- [x] Update Forms Auth to use the new extensions and claim structure\r\n- [x] Update Stateless Auth to use the new extensions and claim structure\r\n- [ ] Update Token Auth to use the new extensions and claim structure\r\n- [x] Update Basic Auth to use the new extensions and claim structure\r\n"},"comment":{"url":"https://api.github.com/repos/NancyFx/Nancy/issues/comments/78445238","html_url":"https://github.com/NancyFx/Nancy/pull/1820#issuecomment-78445238","issue_url":"https://api.github.com/repos/NancyFx/Nancy/issues/1820","id":78445238,"user":{"login":"damianh","id":57436,"avatar_url":"https://avatars.githubusercontent.com/u/57436?v=3","gravatar_id":"","url":"https://api.github.com/users/damianh","html_url":"https://github.com/damianh","followers_url":"https://api.github.com/users/damianh/followers","following_url":"https://api.github.com/users/damianh/following{/other_user}","gists_url":"https://api.github.com/users/damianh/gists{/gist_id}","starred_url":"https://api.github.com/users/damianh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianh/subscriptions","organizations_url":"https://api.github.com/users/damianh/orgs","repos_url":"https://api.github.com/users/damianh/repos","events_url":"https://api.github.com/users/damianh/events{/privacy}","received_events_url":"https://api.github.com/users/damianh/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T09:12:21Z","updated_at":"2015-03-12T09:12:21Z","body":"@khellang all nuget packages should be capped to the next major version at the very least."}}