{"action":"created","issue":{"url":"https://api.github.com/repos/almighty/almighty-ui/issues/76","repository_url":"https://api.github.com/repos/almighty/almighty-ui","labels_url":"https://api.github.com/repos/almighty/almighty-ui/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/almighty/almighty-ui/issues/76/comments","events_url":"https://api.github.com/repos/almighty/almighty-ui/issues/76/events","html_url":"https://github.com/almighty/almighty-ui/pull/76","id":175766984,"number":76,"title":"Added authentication service to check and store (localstorage) a token","user":{"login":"nimishamukherjee","id":1892722,"avatar_url":"https://avatars.githubusercontent.com/u/1892722?v=3","gravatar_id":"","url":"https://api.github.com/users/nimishamukherjee","html_url":"https://github.com/nimishamukherjee","followers_url":"https://api.github.com/users/nimishamukherjee/followers","following_url":"https://api.github.com/users/nimishamukherjee/following{/other_user}","gists_url":"https://api.github.com/users/nimishamukherjee/gists{/gist_id}","starred_url":"https://api.github.com/users/nimishamukherjee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nimishamukherjee/subscriptions","organizations_url":"https://api.github.com/users/nimishamukherjee/orgs","repos_url":"https://api.github.com/users/nimishamukherjee/repos","events_url":"https://api.github.com/users/nimishamukherjee/events{/privacy}","received_events_url":"https://api.github.com/users/nimishamukherjee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-08T14:21:50Z","updated_at":"2016-09-22T08:15:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/almighty/almighty-ui/pulls/76","html_url":"https://github.com/almighty/almighty-ui/pull/76","diff_url":"https://github.com/almighty/almighty-ui/pull/76.diff","patch_url":"https://github.com/almighty/almighty-ui/pull/76.patch"},"body":"Added authentication service to check and store (localstorage) a token. On login, the core's authorize API is called which in turns carries out the relevant Git validations and authorization. Core then redirects to the referrer URL with a token. This token gets stored locally and gets  retrieved for subsequent page visits. On logout the token gets cleared.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/almighty/almighty-ui/76)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/almighty/almighty-ui/issues/comments/248839494","html_url":"https://github.com/almighty/almighty-ui/pull/76#issuecomment-248839494","issue_url":"https://api.github.com/repos/almighty/almighty-ui/issues/76","id":248839494,"user":{"login":"nimishamukherjee","id":1892722,"avatar_url":"https://avatars.githubusercontent.com/u/1892722?v=3","gravatar_id":"","url":"https://api.github.com/users/nimishamukherjee","html_url":"https://github.com/nimishamukherjee","followers_url":"https://api.github.com/users/nimishamukherjee/followers","following_url":"https://api.github.com/users/nimishamukherjee/following{/other_user}","gists_url":"https://api.github.com/users/nimishamukherjee/gists{/gist_id}","starred_url":"https://api.github.com/users/nimishamukherjee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nimishamukherjee/subscriptions","organizations_url":"https://api.github.com/users/nimishamukherjee/orgs","repos_url":"https://api.github.com/users/nimishamukherjee/repos","events_url":"https://api.github.com/users/nimishamukherjee/events{/privacy}","received_events_url":"https://api.github.com/users/nimishamukherjee/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T08:15:31Z","updated_at":"2016-09-22T08:15:31Z","body":"@sanbornsen Localstorage is used to persist the token. How do we use private variable in this scenario?"}}
{"actor":{"display_login":"nimishamukherjee"}}