{"action":"created","comment":{"url":"https://api.github.com/repos/SpoonX/aurelia-authentication/pulls/comments/57709333","id":57709333,"diff_hunk":"@@ -17,22 +18,41 @@ export class AuthService {\n \n   getMe(criteria) {\n     if (typeof criteria === 'string' || typeof criteria === 'number') {\n-      criteria = {id: criteria};\n+      criteria = { id: criteria };","path":"src/authService.js","position":15,"original_position":15,"commit_id":"49d3a271b924912b45db77b502c7990d270346d3","original_commit_id":"49d3a271b924912b45db77b502c7990d270346d3","user":{"login":"RWOverdijk","id":781745,"avatar_url":"https://avatars.githubusercontent.com/u/781745?v=3","gravatar_id":"","url":"https://api.github.com/users/RWOverdijk","html_url":"https://github.com/RWOverdijk","followers_url":"https://api.github.com/users/RWOverdijk/followers","following_url":"https://api.github.com/users/RWOverdijk/following{/other_user}","gists_url":"https://api.github.com/users/RWOverdijk/gists{/gist_id}","starred_url":"https://api.github.com/users/RWOverdijk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RWOverdijk/subscriptions","organizations_url":"https://api.github.com/users/RWOverdijk/orgs","repos_url":"https://api.github.com/users/RWOverdijk/repos","events_url":"https://api.github.com/users/RWOverdijk/events{/privacy}","received_events_url":"https://api.github.com/users/RWOverdijk/received_events","type":"User","site_admin":false},"body":"Remove spaces","created_at":"2016-03-29T11:42:00Z","updated_at":"2016-03-29T11:42:00Z","html_url":"https://github.com/SpoonX/aurelia-authentication/pull/31#discussion_r57709333","pull_request_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/SpoonX/aurelia-authentication/pulls/comments/57709333"},"html":{"href":"https://github.com/SpoonX/aurelia-authentication/pull/31#discussion_r57709333"},"pull_request":{"href":"https://api.github.com/repos/SpoonX/aurelia-authentication/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/SpoonX/aurelia-authentication/pulls/31","id":57088380,"html_url":"https://github.com/SpoonX/aurelia-authentication/pull/31","diff_url":"https://github.com/SpoonX/aurelia-authentication/pull/31.diff","patch_url":"https://github.com/SpoonX/aurelia-authentication/pull/31.patch","issue_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/issues/31","number":31,"state":"open","locked":false,"title":"Feature: Refresh Tokens","user":{"login":"alfkonee","id":3909521,"avatar_url":"https://avatars.githubusercontent.com/u/3909521?v=3","gravatar_id":"","url":"https://api.github.com/users/alfkonee","html_url":"https://github.com/alfkonee","followers_url":"https://api.github.com/users/alfkonee/followers","following_url":"https://api.github.com/users/alfkonee/following{/other_user}","gists_url":"https://api.github.com/users/alfkonee/gists{/gist_id}","starred_url":"https://api.github.com/users/alfkonee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfkonee/subscriptions","organizations_url":"https://api.github.com/users/alfkonee/orgs","repos_url":"https://api.github.com/users/alfkonee/repos","events_url":"https://api.github.com/users/alfkonee/events{/privacy}","received_events_url":"https://api.github.com/users/alfkonee/received_events","type":"User","site_admin":false},"body":"Solves #1 \r\nAlso Includes are \r\n1. Realm Support for Local Login\r\n2. Content-Type Support for Login\r\n\r\nLet the conversation Begin","created_at":"2016-01-25T15:48:19Z","updated_at":"2016-03-29T11:42:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"439021163a240a6b554a428f8c75fdbf40876441","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/pulls/31/commits","review_comments_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/pulls/31/comments","review_comment_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/issues/31/comments","statuses_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/statuses/49d3a271b924912b45db77b502c7990d270346d3","head":{"label":"alfkonee:master","ref":"master","sha":"49d3a271b924912b45db77b502c7990d270346d3","user":{"login":"alfkonee","id":3909521,"avatar_url":"https://avatars.githubusercontent.com/u/3909521?v=3","gravatar_id":"","url":"https://api.github.com/users/alfkonee","html_url":"https://github.com/alfkonee","followers_url":"https://api.github.com/users/alfkonee/followers","following_url":"https://api.github.com/users/alfkonee/following{/other_user}","gists_url":"https://api.github.com/users/alfkonee/gists{/gist_id}","starred_url":"https://api.github.com/users/alfkonee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfkonee/subscriptions","organizations_url":"https://api.github.com/users/alfkonee/orgs","repos_url":"https://api.github.com/users/alfkonee/repos","events_url":"https://api.github.com/users/alfkonee/events{/privacy}","received_events_url":"https://api.github.com/users/alfkonee/received_events","type":"User","site_admin":false},"repo":{"id":50259914,"name":"aurelia-auth-spoonx","full_name":"alfkonee/aurelia-auth-spoonx","owner":{"login":"alfkonee","id":3909521,"avatar_url":"https://avatars.githubusercontent.com/u/3909521?v=3","gravatar_id":"","url":"https://api.github.com/users/alfkonee","html_url":"https://github.com/alfkonee","followers_url":"https://api.github.com/users/alfkonee/followers","following_url":"https://api.github.com/users/alfkonee/following{/other_user}","gists_url":"https://api.github.com/users/alfkonee/gists{/gist_id}","starred_url":"https://api.github.com/users/alfkonee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfkonee/subscriptions","organizations_url":"https://api.github.com/users/alfkonee/orgs","repos_url":"https://api.github.com/users/alfkonee/repos","events_url":"https://api.github.com/users/alfkonee/events{/privacy}","received_events_url":"https://api.github.com/users/alfkonee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alfkonee/aurelia-auth-spoonx","description":"Authentication plugin for aurelia.","fork":true,"url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx","forks_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/forks","keys_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/teams","hooks_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/hooks","issue_events_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/issues/events{/number}","events_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/events","assignees_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/assignees{/user}","branches_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/branches{/branch}","tags_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/tags","blobs_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/git/refs{/sha}","trees_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/statuses/{sha}","languages_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/languages","stargazers_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/stargazers","contributors_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/contributors","subscribers_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/subscribers","subscription_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/subscription","commits_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/commits{/sha}","git_commits_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/git/commits{/sha}","comments_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/comments{/number}","issue_comment_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/issues/comments{/number}","contents_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/contents/{+path}","compare_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/merges","archive_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/downloads","issues_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/issues{/number}","pulls_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/pulls{/number}","milestones_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/milestones{/number}","notifications_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/labels{/name}","releases_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/releases{/id}","deployments_url":"https://api.github.com/repos/alfkonee/aurelia-auth-spoonx/deployments","created_at":"2016-01-23T21:45:11Z","updated_at":"2016-01-23T21:45:48Z","pushed_at":"2016-03-27T11:10:04Z","git_url":"git://github.com/alfkonee/aurelia-auth-spoonx.git","ssh_url":"git@github.com:alfkonee/aurelia-auth-spoonx.git","clone_url":"https://github.com/alfkonee/aurelia-auth-spoonx.git","svn_url":"https://github.com/alfkonee/aurelia-auth-spoonx","homepage":null,"size":559,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SpoonX:master","ref":"master","sha":"edc5a82055a60fb25ba67bac0c0f6a23cb71adf4","user":{"login":"SpoonX","id":3681611,"avatar_url":"https://avatars.githubusercontent.com/u/3681611?v=3","gravatar_id":"","url":"https://api.github.com/users/SpoonX","html_url":"https://github.com/SpoonX","followers_url":"https://api.github.com/users/SpoonX/followers","following_url":"https://api.github.com/users/SpoonX/following{/other_user}","gists_url":"https://api.github.com/users/SpoonX/gists{/gist_id}","starred_url":"https://api.github.com/users/SpoonX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpoonX/subscriptions","organizations_url":"https://api.github.com/users/SpoonX/orgs","repos_url":"https://api.github.com/users/SpoonX/repos","events_url":"https://api.github.com/users/SpoonX/events{/privacy}","received_events_url":"https://api.github.com/users/SpoonX/received_events","type":"Organization","site_admin":false},"repo":{"id":48221197,"name":"aurelia-authentication","full_name":"SpoonX/aurelia-authentication","owner":{"login":"SpoonX","id":3681611,"avatar_url":"https://avatars.githubusercontent.com/u/3681611?v=3","gravatar_id":"","url":"https://api.github.com/users/SpoonX","html_url":"https://github.com/SpoonX","followers_url":"https://api.github.com/users/SpoonX/followers","following_url":"https://api.github.com/users/SpoonX/following{/other_user}","gists_url":"https://api.github.com/users/SpoonX/gists{/gist_id}","starred_url":"https://api.github.com/users/SpoonX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpoonX/subscriptions","organizations_url":"https://api.github.com/users/SpoonX/orgs","repos_url":"https://api.github.com/users/SpoonX/repos","events_url":"https://api.github.com/users/SpoonX/events{/privacy}","received_events_url":"https://api.github.com/users/SpoonX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SpoonX/aurelia-authentication","description":"Authentication plugin for aurelia.","fork":false,"url":"https://api.github.com/repos/SpoonX/aurelia-authentication","forks_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/forks","keys_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/teams","hooks_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/hooks","issue_events_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/issues/events{/number}","events_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/events","assignees_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/assignees{/user}","branches_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/branches{/branch}","tags_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/tags","blobs_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/git/refs{/sha}","trees_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/statuses/{sha}","languages_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/languages","stargazers_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/stargazers","contributors_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/contributors","subscribers_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/subscribers","subscription_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/subscription","commits_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/commits{/sha}","git_commits_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/git/commits{/sha}","comments_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/comments{/number}","issue_comment_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/issues/comments{/number}","contents_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/contents/{+path}","compare_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/merges","archive_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/downloads","issues_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/issues{/number}","pulls_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/pulls{/number}","milestones_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/milestones{/number}","notifications_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/labels{/name}","releases_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/releases{/id}","deployments_url":"https://api.github.com/repos/SpoonX/aurelia-authentication/deployments","created_at":"2015-12-18T07:34:38Z","updated_at":"2016-03-25T18:55:20Z","pushed_at":"2016-03-29T11:25:40Z","git_url":"git://github.com/SpoonX/aurelia-authentication.git","ssh_url":"git@github.com:SpoonX/aurelia-authentication.git","clone_url":"https://github.com/SpoonX/aurelia-authentication.git","svn_url":"https://github.com/SpoonX/aurelia-authentication","homepage":null,"size":563,"stargazers_count":22,"watchers_count":22,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":13,"forks":9,"open_issues":13,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SpoonX/aurelia-authentication/pulls/31"},"html":{"href":"https://github.com/SpoonX/aurelia-authentication/pull/31"},"issue":{"href":"https://api.github.com/repos/SpoonX/aurelia-authentication/issues/31"},"comments":{"href":"https://api.github.com/repos/SpoonX/aurelia-authentication/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/SpoonX/aurelia-authentication/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/SpoonX/aurelia-authentication/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SpoonX/aurelia-authentication/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/SpoonX/aurelia-authentication/statuses/49d3a271b924912b45db77b502c7990d270346d3"}}}}