{"action":"opened","number":36,"pull_request":{"url":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls/36","id":27656435,"html_url":"https://github.com/strongloop/loopback-component-passport/pull/36","diff_url":"https://github.com/strongloop/loopback-component-passport/pull/36.diff","patch_url":"https://github.com/strongloop/loopback-component-passport/pull/36.patch","issue_url":"https://api.github.com/repos/strongloop/loopback-component-passport/issues/36","number":36,"state":"open","locked":false,"title":"support use of custom function for creating access token","user":{"login":"vinebrancho","id":7057512,"avatar_url":"https://avatars.githubusercontent.com/u/7057512?v=3","gravatar_id":"","url":"https://api.github.com/users/vinebrancho","html_url":"https://github.com/vinebrancho","followers_url":"https://api.github.com/users/vinebrancho/followers","following_url":"https://api.github.com/users/vinebrancho/following{/other_user}","gists_url":"https://api.github.com/users/vinebrancho/gists{/gist_id}","starred_url":"https://api.github.com/users/vinebrancho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinebrancho/subscriptions","organizations_url":"https://api.github.com/users/vinebrancho/orgs","repos_url":"https://api.github.com/users/vinebrancho/repos","events_url":"https://api.github.com/users/vinebrancho/events{/privacy}","received_events_url":"https://api.github.com/users/vinebrancho/received_events","type":"User","site_admin":false},"body":"Application requiring this module can have usecases creating access token of specific format, not default format provided by this module.\r\nFor example, when this module is used with loopback-component-oauth2, UserIdentity.login needs to create a token as specific format used in loopback-component-oauth2.","created_at":"2015-01-20T06:25:00Z","updated_at":"2015-01-20T06:25:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls/36/commits","review_comments_url":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls/36/comments","review_comment_url":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls/comments/{number}","comments_url":"https://api.github.com/repos/strongloop/loopback-component-passport/issues/36/comments","statuses_url":"https://api.github.com/repos/strongloop/loopback-component-passport/statuses/5edbf04a152745ad8bfa8b550db9ebbb6253bb21","head":{"label":"vinebrancho:master","ref":"master","sha":"5edbf04a152745ad8bfa8b550db9ebbb6253bb21","user":{"login":"vinebrancho","id":7057512,"avatar_url":"https://avatars.githubusercontent.com/u/7057512?v=3","gravatar_id":"","url":"https://api.github.com/users/vinebrancho","html_url":"https://github.com/vinebrancho","followers_url":"https://api.github.com/users/vinebrancho/followers","following_url":"https://api.github.com/users/vinebrancho/following{/other_user}","gists_url":"https://api.github.com/users/vinebrancho/gists{/gist_id}","starred_url":"https://api.github.com/users/vinebrancho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinebrancho/subscriptions","organizations_url":"https://api.github.com/users/vinebrancho/orgs","repos_url":"https://api.github.com/users/vinebrancho/repos","events_url":"https://api.github.com/users/vinebrancho/events{/privacy}","received_events_url":"https://api.github.com/users/vinebrancho/received_events","type":"User","site_admin":false},"repo":{"id":28702285,"name":"loopback-component-passport","full_name":"vinebrancho/loopback-component-passport","owner":{"login":"vinebrancho","id":7057512,"avatar_url":"https://avatars.githubusercontent.com/u/7057512?v=3","gravatar_id":"","url":"https://api.github.com/users/vinebrancho","html_url":"https://github.com/vinebrancho","followers_url":"https://api.github.com/users/vinebrancho/followers","following_url":"https://api.github.com/users/vinebrancho/following{/other_user}","gists_url":"https://api.github.com/users/vinebrancho/gists{/gist_id}","starred_url":"https://api.github.com/users/vinebrancho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinebrancho/subscriptions","organizations_url":"https://api.github.com/users/vinebrancho/orgs","repos_url":"https://api.github.com/users/vinebrancho/repos","events_url":"https://api.github.com/users/vinebrancho/events{/privacy}","received_events_url":"https://api.github.com/users/vinebrancho/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vinebrancho/loopback-component-passport","description":"LoopBack passport integration to support third party logins and account linking","fork":true,"url":"https://api.github.com/repos/vinebrancho/loopback-component-passport","forks_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/forks","keys_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/teams","hooks_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/hooks","issue_events_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/issues/events{/number}","events_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/events","assignees_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/assignees{/user}","branches_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/branches{/branch}","tags_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/tags","blobs_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/git/refs{/sha}","trees_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/statuses/{sha}","languages_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/languages","stargazers_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/stargazers","contributors_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/contributors","subscribers_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/subscribers","subscription_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/subscription","commits_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/commits{/sha}","git_commits_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/git/commits{/sha}","comments_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/comments{/number}","issue_comment_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/issues/comments/{number}","contents_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/contents/{+path}","compare_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/merges","archive_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/downloads","issues_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/issues{/number}","pulls_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/pulls{/number}","milestones_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/milestones{/number}","notifications_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/labels{/name}","releases_url":"https://api.github.com/repos/vinebrancho/loopback-component-passport/releases{/id}","created_at":"2015-01-02T03:23:32Z","updated_at":"2015-01-20T06:23:40Z","pushed_at":"2015-01-20T06:23:40Z","git_url":"git://github.com/vinebrancho/loopback-component-passport.git","ssh_url":"git@github.com:vinebrancho/loopback-component-passport.git","clone_url":"https://github.com/vinebrancho/loopback-component-passport.git","svn_url":"https://github.com/vinebrancho/loopback-component-passport","homepage":null,"size":656,"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":"strongloop:master","ref":"master","sha":"2d0e83c2e8cddb62fb3a39cd60c7834db9dc6855","user":{"login":"strongloop","id":3020012,"avatar_url":"https://avatars.githubusercontent.com/u/3020012?v=3","gravatar_id":"","url":"https://api.github.com/users/strongloop","html_url":"https://github.com/strongloop","followers_url":"https://api.github.com/users/strongloop/followers","following_url":"https://api.github.com/users/strongloop/following{/other_user}","gists_url":"https://api.github.com/users/strongloop/gists{/gist_id}","starred_url":"https://api.github.com/users/strongloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strongloop/subscriptions","organizations_url":"https://api.github.com/users/strongloop/orgs","repos_url":"https://api.github.com/users/strongloop/repos","events_url":"https://api.github.com/users/strongloop/events{/privacy}","received_events_url":"https://api.github.com/users/strongloop/received_events","type":"Organization","site_admin":false},"repo":{"id":19863257,"name":"loopback-component-passport","full_name":"strongloop/loopback-component-passport","owner":{"login":"strongloop","id":3020012,"avatar_url":"https://avatars.githubusercontent.com/u/3020012?v=3","gravatar_id":"","url":"https://api.github.com/users/strongloop","html_url":"https://github.com/strongloop","followers_url":"https://api.github.com/users/strongloop/followers","following_url":"https://api.github.com/users/strongloop/following{/other_user}","gists_url":"https://api.github.com/users/strongloop/gists{/gist_id}","starred_url":"https://api.github.com/users/strongloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strongloop/subscriptions","organizations_url":"https://api.github.com/users/strongloop/orgs","repos_url":"https://api.github.com/users/strongloop/repos","events_url":"https://api.github.com/users/strongloop/events{/privacy}","received_events_url":"https://api.github.com/users/strongloop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/strongloop/loopback-component-passport","description":"LoopBack passport integration to support third party logins and account linking","fork":false,"url":"https://api.github.com/repos/strongloop/loopback-component-passport","forks_url":"https://api.github.com/repos/strongloop/loopback-component-passport/forks","keys_url":"https://api.github.com/repos/strongloop/loopback-component-passport/keys{/key_id}","collaborators_url":"https://api.github.com/repos/strongloop/loopback-component-passport/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/strongloop/loopback-component-passport/teams","hooks_url":"https://api.github.com/repos/strongloop/loopback-component-passport/hooks","issue_events_url":"https://api.github.com/repos/strongloop/loopback-component-passport/issues/events{/number}","events_url":"https://api.github.com/repos/strongloop/loopback-component-passport/events","assignees_url":"https://api.github.com/repos/strongloop/loopback-component-passport/assignees{/user}","branches_url":"https://api.github.com/repos/strongloop/loopback-component-passport/branches{/branch}","tags_url":"https://api.github.com/repos/strongloop/loopback-component-passport/tags","blobs_url":"https://api.github.com/repos/strongloop/loopback-component-passport/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/strongloop/loopback-component-passport/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/strongloop/loopback-component-passport/git/refs{/sha}","trees_url":"https://api.github.com/repos/strongloop/loopback-component-passport/git/trees{/sha}","statuses_url":"https://api.github.com/repos/strongloop/loopback-component-passport/statuses/{sha}","languages_url":"https://api.github.com/repos/strongloop/loopback-component-passport/languages","stargazers_url":"https://api.github.com/repos/strongloop/loopback-component-passport/stargazers","contributors_url":"https://api.github.com/repos/strongloop/loopback-component-passport/contributors","subscribers_url":"https://api.github.com/repos/strongloop/loopback-component-passport/subscribers","subscription_url":"https://api.github.com/repos/strongloop/loopback-component-passport/subscription","commits_url":"https://api.github.com/repos/strongloop/loopback-component-passport/commits{/sha}","git_commits_url":"https://api.github.com/repos/strongloop/loopback-component-passport/git/commits{/sha}","comments_url":"https://api.github.com/repos/strongloop/loopback-component-passport/comments{/number}","issue_comment_url":"https://api.github.com/repos/strongloop/loopback-component-passport/issues/comments/{number}","contents_url":"https://api.github.com/repos/strongloop/loopback-component-passport/contents/{+path}","compare_url":"https://api.github.com/repos/strongloop/loopback-component-passport/compare/{base}...{head}","merges_url":"https://api.github.com/repos/strongloop/loopback-component-passport/merges","archive_url":"https://api.github.com/repos/strongloop/loopback-component-passport/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/strongloop/loopback-component-passport/downloads","issues_url":"https://api.github.com/repos/strongloop/loopback-component-passport/issues{/number}","pulls_url":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls{/number}","milestones_url":"https://api.github.com/repos/strongloop/loopback-component-passport/milestones{/number}","notifications_url":"https://api.github.com/repos/strongloop/loopback-component-passport/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/strongloop/loopback-component-passport/labels{/name}","releases_url":"https://api.github.com/repos/strongloop/loopback-component-passport/releases{/id}","created_at":"2014-05-16T16:30:25Z","updated_at":"2015-01-20T02:47:43Z","pushed_at":"2015-01-19T22:18:48Z","git_url":"git://github.com/strongloop/loopback-component-passport.git","ssh_url":"git@github.com:strongloop/loopback-component-passport.git","clone_url":"https://github.com/strongloop/loopback-component-passport.git","svn_url":"https://github.com/strongloop/loopback-component-passport","homepage":null,"size":753,"stargazers_count":26,"watchers_count":26,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":13,"forks":31,"open_issues":13,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls/36"},"html":{"href":"https://github.com/strongloop/loopback-component-passport/pull/36"},"issue":{"href":"https://api.github.com/repos/strongloop/loopback-component-passport/issues/36"},"comments":{"href":"https://api.github.com/repos/strongloop/loopback-component-passport/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/strongloop/loopback-component-passport/statuses/5edbf04a152745ad8bfa8b550db9ebbb6253bb21"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}