{"action":"created","comment":{"url":"https://api.github.com/repos/wolox-training/fc-express-js/pulls/comments/118235710","pull_request_review_id":40005201,"id":118235710,"diff_hunk":"@@ -3,4 +3,6 @@ const users = require('./controllers/users');\n exports.init = (app) => {\n   app.post('/users', users.create);\n   app.post('/users/sessions', users.singIn);\n+  app.post('/users/invalidateAll', users.invalidateAll);\n+  app.post('/users/renew', users.renew);","path":"app/routes.js","position":5,"original_position":5,"commit_id":"f190ed0b4bc4953a779541bc21455dd033f51eb5","original_commit_id":"f190ed0b4bc4953a779541bc21455dd033f51eb5","user":{"login":"mishuagopian","id":9448790,"avatar_url":"https://avatars0.githubusercontent.com/u/9448790?v=3","gravatar_id":"","url":"https://api.github.com/users/mishuagopian","html_url":"https://github.com/mishuagopian","followers_url":"https://api.github.com/users/mishuagopian/followers","following_url":"https://api.github.com/users/mishuagopian/following{/other_user}","gists_url":"https://api.github.com/users/mishuagopian/gists{/gist_id}","starred_url":"https://api.github.com/users/mishuagopian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mishuagopian/subscriptions","organizations_url":"https://api.github.com/users/mishuagopian/orgs","repos_url":"https://api.github.com/users/mishuagopian/repos","events_url":"https://api.github.com/users/mishuagopian/events{/privacy}","received_events_url":"https://api.github.com/users/mishuagopian/received_events","type":"User","site_admin":false},"body":"You must also verify, for these two endpoints, few things:\r\n- User is sending a token.\r\n- Token has not expired and is not after maximum useful date.\r\n- Token has the same verification id the user has in the db","created_at":"2017-05-24T12:19:07Z","updated_at":"2017-05-24T12:21:02Z","html_url":"https://github.com/wolox-training/fc-express-js/pull/5#discussion_r118235710","pull_request_url":"https://api.github.com/repos/wolox-training/fc-express-js/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/wolox-training/fc-express-js/pulls/comments/118235710"},"html":{"href":"https://github.com/wolox-training/fc-express-js/pull/5#discussion_r118235710"},"pull_request":{"href":"https://api.github.com/repos/wolox-training/fc-express-js/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/wolox-training/fc-express-js/pulls/5","id":121567155,"html_url":"https://github.com/wolox-training/fc-express-js/pull/5","diff_url":"https://github.com/wolox-training/fc-express-js/pull/5.diff","patch_url":"https://github.com/wolox-training/fc-express-js/pull/5.patch","issue_url":"https://api.github.com/repos/wolox-training/fc-express-js/issues/5","number":5,"state":"open","locked":false,"title":"Autentification","user":{"login":"facucompe","id":12786130,"avatar_url":"https://avatars1.githubusercontent.com/u/12786130?v=3","gravatar_id":"","url":"https://api.github.com/users/facucompe","html_url":"https://github.com/facucompe","followers_url":"https://api.github.com/users/facucompe/followers","following_url":"https://api.github.com/users/facucompe/following{/other_user}","gists_url":"https://api.github.com/users/facucompe/gists{/gist_id}","starred_url":"https://api.github.com/users/facucompe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facucompe/subscriptions","organizations_url":"https://api.github.com/users/facucompe/orgs","repos_url":"https://api.github.com/users/facucompe/repos","events_url":"https://api.github.com/users/facucompe/events{/privacy}","received_events_url":"https://api.github.com/users/facucompe/received_events","type":"User","site_admin":false},"body":"# Sumary\r\n* Tokens expirate\r\n* Renovation of tokens\r\n* Invalidation of tokens\r\n# Trello Card \r\nhttps://trello.com/c/Pcrqqg1x/5-autenticacion\r\n# Screenshot\r\n![image](https://cloud.githubusercontent.com/assets/12786130/26263590/cfcc4c6a-3caf-11e7-88dd-3d177458c003.png)\r\n![image](https://cloud.githubusercontent.com/assets/12786130/26263624/ea499ef8-3caf-11e7-9607-86ee239a88c7.png)\r\n![image](https://cloud.githubusercontent.com/assets/12786130/26263660/095a305a-3cb0-11e7-86ed-5112fe9cb62e.png)\r\n","created_at":"2017-05-19T19:27:46Z","updated_at":"2017-05-24T12:21:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3ce78b4daa78c4a624f1aeb7ebd6cb30b9b222b8","assignee":{"login":"facucompe","id":12786130,"avatar_url":"https://avatars1.githubusercontent.com/u/12786130?v=3","gravatar_id":"","url":"https://api.github.com/users/facucompe","html_url":"https://github.com/facucompe","followers_url":"https://api.github.com/users/facucompe/followers","following_url":"https://api.github.com/users/facucompe/following{/other_user}","gists_url":"https://api.github.com/users/facucompe/gists{/gist_id}","starred_url":"https://api.github.com/users/facucompe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facucompe/subscriptions","organizations_url":"https://api.github.com/users/facucompe/orgs","repos_url":"https://api.github.com/users/facucompe/repos","events_url":"https://api.github.com/users/facucompe/events{/privacy}","received_events_url":"https://api.github.com/users/facucompe/received_events","type":"User","site_admin":false},"assignees":[{"login":"facucompe","id":12786130,"avatar_url":"https://avatars1.githubusercontent.com/u/12786130?v=3","gravatar_id":"","url":"https://api.github.com/users/facucompe","html_url":"https://github.com/facucompe","followers_url":"https://api.github.com/users/facucompe/followers","following_url":"https://api.github.com/users/facucompe/following{/other_user}","gists_url":"https://api.github.com/users/facucompe/gists{/gist_id}","starred_url":"https://api.github.com/users/facucompe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facucompe/subscriptions","organizations_url":"https://api.github.com/users/facucompe/orgs","repos_url":"https://api.github.com/users/facucompe/repos","events_url":"https://api.github.com/users/facucompe/events{/privacy}","received_events_url":"https://api.github.com/users/facucompe/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/wolox-training/fc-express-js/pulls/5/commits","review_comments_url":"https://api.github.com/repos/wolox-training/fc-express-js/pulls/5/comments","review_comment_url":"https://api.github.com/repos/wolox-training/fc-express-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wolox-training/fc-express-js/issues/5/comments","statuses_url":"https://api.github.com/repos/wolox-training/fc-express-js/statuses/f190ed0b4bc4953a779541bc21455dd033f51eb5","head":{"label":"wolox-training:autentification","ref":"autentification","sha":"f190ed0b4bc4953a779541bc21455dd033f51eb5","user":{"login":"wolox-training","id":14113351,"avatar_url":"https://avatars2.githubusercontent.com/u/14113351?v=3","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"repo":{"id":90037307,"name":"fc-express-js","full_name":"wolox-training/fc-express-js","owner":{"login":"wolox-training","id":14113351,"avatar_url":"https://avatars2.githubusercontent.com/u/14113351?v=3","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wolox-training/fc-express-js","description":null,"fork":false,"url":"https://api.github.com/repos/wolox-training/fc-express-js","forks_url":"https://api.github.com/repos/wolox-training/fc-express-js/forks","keys_url":"https://api.github.com/repos/wolox-training/fc-express-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wolox-training/fc-express-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wolox-training/fc-express-js/teams","hooks_url":"https://api.github.com/repos/wolox-training/fc-express-js/hooks","issue_events_url":"https://api.github.com/repos/wolox-training/fc-express-js/issues/events{/number}","events_url":"https://api.github.com/repos/wolox-training/fc-express-js/events","assignees_url":"https://api.github.com/repos/wolox-training/fc-express-js/assignees{/user}","branches_url":"https://api.github.com/repos/wolox-training/fc-express-js/branches{/branch}","tags_url":"https://api.github.com/repos/wolox-training/fc-express-js/tags","blobs_url":"https://api.github.com/repos/wolox-training/fc-express-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wolox-training/fc-express-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wolox-training/fc-express-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/wolox-training/fc-express-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wolox-training/fc-express-js/statuses/{sha}","languages_url":"https://api.github.com/repos/wolox-training/fc-express-js/languages","stargazers_url":"https://api.github.com/repos/wolox-training/fc-express-js/stargazers","contributors_url":"https://api.github.com/repos/wolox-training/fc-express-js/contributors","subscribers_url":"https://api.github.com/repos/wolox-training/fc-express-js/subscribers","subscription_url":"https://api.github.com/repos/wolox-training/fc-express-js/subscription","commits_url":"https://api.github.com/repos/wolox-training/fc-express-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/wolox-training/fc-express-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/wolox-training/fc-express-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/wolox-training/fc-express-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/wolox-training/fc-express-js/contents/{+path}","compare_url":"https://api.github.com/repos/wolox-training/fc-express-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wolox-training/fc-express-js/merges","archive_url":"https://api.github.com/repos/wolox-training/fc-express-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wolox-training/fc-express-js/downloads","issues_url":"https://api.github.com/repos/wolox-training/fc-express-js/issues{/number}","pulls_url":"https://api.github.com/repos/wolox-training/fc-express-js/pulls{/number}","milestones_url":"https://api.github.com/repos/wolox-training/fc-express-js/milestones{/number}","notifications_url":"https://api.github.com/repos/wolox-training/fc-express-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wolox-training/fc-express-js/labels{/name}","releases_url":"https://api.github.com/repos/wolox-training/fc-express-js/releases{/id}","deployments_url":"https://api.github.com/repos/wolox-training/fc-express-js/deployments","created_at":"2017-05-02T13:35:13Z","updated_at":"2017-05-22T04:09:16Z","pushed_at":"2017-05-23T20:27:26Z","git_url":"git://github.com/wolox-training/fc-express-js.git","ssh_url":"git@github.com:wolox-training/fc-express-js.git","clone_url":"https://github.com/wolox-training/fc-express-js.git","svn_url":"https://github.com/wolox-training/fc-express-js","homepage":null,"size":314,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"wolox-training:signIn","ref":"signIn","sha":"29eca9e5632da83b7e7bd9b9b4446d23a994b17e","user":{"login":"wolox-training","id":14113351,"avatar_url":"https://avatars2.githubusercontent.com/u/14113351?v=3","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"repo":{"id":90037307,"name":"fc-express-js","full_name":"wolox-training/fc-express-js","owner":{"login":"wolox-training","id":14113351,"avatar_url":"https://avatars2.githubusercontent.com/u/14113351?v=3","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wolox-training/fc-express-js","description":null,"fork":false,"url":"https://api.github.com/repos/wolox-training/fc-express-js","forks_url":"https://api.github.com/repos/wolox-training/fc-express-js/forks","keys_url":"https://api.github.com/repos/wolox-training/fc-express-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wolox-training/fc-express-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wolox-training/fc-express-js/teams","hooks_url":"https://api.github.com/repos/wolox-training/fc-express-js/hooks","issue_events_url":"https://api.github.com/repos/wolox-training/fc-express-js/issues/events{/number}","events_url":"https://api.github.com/repos/wolox-training/fc-express-js/events","assignees_url":"https://api.github.com/repos/wolox-training/fc-express-js/assignees{/user}","branches_url":"https://api.github.com/repos/wolox-training/fc-express-js/branches{/branch}","tags_url":"https://api.github.com/repos/wolox-training/fc-express-js/tags","blobs_url":"https://api.github.com/repos/wolox-training/fc-express-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wolox-training/fc-express-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wolox-training/fc-express-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/wolox-training/fc-express-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wolox-training/fc-express-js/statuses/{sha}","languages_url":"https://api.github.com/repos/wolox-training/fc-express-js/languages","stargazers_url":"https://api.github.com/repos/wolox-training/fc-express-js/stargazers","contributors_url":"https://api.github.com/repos/wolox-training/fc-express-js/contributors","subscribers_url":"https://api.github.com/repos/wolox-training/fc-express-js/subscribers","subscription_url":"https://api.github.com/repos/wolox-training/fc-express-js/subscription","commits_url":"https://api.github.com/repos/wolox-training/fc-express-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/wolox-training/fc-express-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/wolox-training/fc-express-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/wolox-training/fc-express-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/wolox-training/fc-express-js/contents/{+path}","compare_url":"https://api.github.com/repos/wolox-training/fc-express-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wolox-training/fc-express-js/merges","archive_url":"https://api.github.com/repos/wolox-training/fc-express-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wolox-training/fc-express-js/downloads","issues_url":"https://api.github.com/repos/wolox-training/fc-express-js/issues{/number}","pulls_url":"https://api.github.com/repos/wolox-training/fc-express-js/pulls{/number}","milestones_url":"https://api.github.com/repos/wolox-training/fc-express-js/milestones{/number}","notifications_url":"https://api.github.com/repos/wolox-training/fc-express-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wolox-training/fc-express-js/labels{/name}","releases_url":"https://api.github.com/repos/wolox-training/fc-express-js/releases{/id}","deployments_url":"https://api.github.com/repos/wolox-training/fc-express-js/deployments","created_at":"2017-05-02T13:35:13Z","updated_at":"2017-05-22T04:09:16Z","pushed_at":"2017-05-23T20:27:26Z","git_url":"git://github.com/wolox-training/fc-express-js.git","ssh_url":"git@github.com:wolox-training/fc-express-js.git","clone_url":"https://github.com/wolox-training/fc-express-js.git","svn_url":"https://github.com/wolox-training/fc-express-js","homepage":null,"size":314,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wolox-training/fc-express-js/pulls/5"},"html":{"href":"https://github.com/wolox-training/fc-express-js/pull/5"},"issue":{"href":"https://api.github.com/repos/wolox-training/fc-express-js/issues/5"},"comments":{"href":"https://api.github.com/repos/wolox-training/fc-express-js/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/wolox-training/fc-express-js/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/wolox-training/fc-express-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wolox-training/fc-express-js/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/wolox-training/fc-express-js/statuses/f190ed0b4bc4953a779541bc21455dd033f51eb5"}}}}
{"actor":{"display_login":"mishuagopian"}}