{"action":"closed","number":38,"pull_request":{"url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/pulls/38","id":57133093,"html_url":"https://github.com/zf-fr/zfr-oauth2-server/pull/38","diff_url":"https://github.com/zf-fr/zfr-oauth2-server/pull/38.diff","patch_url":"https://github.com/zf-fr/zfr-oauth2-server/pull/38.patch","issue_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/issues/38","number":38,"state":"closed","locked":false,"title":"Middleware addendum","user":{"login":"basz","id":143068,"avatar_url":"https://avatars.githubusercontent.com/u/143068?v=3","gravatar_id":"","url":"https://api.github.com/users/basz","html_url":"https://github.com/basz","followers_url":"https://api.github.com/users/basz/followers","following_url":"https://api.github.com/users/basz/following{/other_user}","gists_url":"https://api.github.com/users/basz/gists{/gist_id}","starred_url":"https://api.github.com/users/basz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basz/subscriptions","organizations_url":"https://api.github.com/users/basz/orgs","repos_url":"https://api.github.com/users/basz/repos","events_url":"https://api.github.com/users/basz/events{/privacy}","received_events_url":"https://api.github.com/users/basz/received_events","type":"User","site_admin":false},"body":"Hi @bakura10 we've talked briefly in a PR somewhere. Here is the result. My hope is you will merge it into the middleware branch on which i based it. It still needs some work, but I think most of the refactoring is done. Locally i can do a password grant request and I get a free token... yeah... all in an expressive app.\r\n\r\nI left the configuration - but i believe wiring isn't supposed to be provided with these libraries (it is not a module).\r\n\r\nOriginally I worked on the zf2 module too, but I stopped with that for now (repo still there). I like the cleanness of this lib compared to some of the others. Hope it can evolve into supporting a oauth2 features. incl jwt.\r\n\r\nwell please let me know what you think, bas","created_at":"2016-01-25T21:27:13Z","updated_at":"2016-01-26T12:33:26Z","closed_at":"2016-01-26T12:33:25Z","merged_at":"2016-01-26T12:33:25Z","merge_commit_sha":"f5d0c73a4073030a278dcbce46732956840c5b1b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/pulls/38/commits","review_comments_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/pulls/38/comments","review_comment_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/issues/38/comments","statuses_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/statuses/0033ed7b810a321eb762773b2cc9bcda49141e74","head":{"label":"basz:middleware-addendum","ref":"middleware-addendum","sha":"0033ed7b810a321eb762773b2cc9bcda49141e74","user":{"login":"basz","id":143068,"avatar_url":"https://avatars.githubusercontent.com/u/143068?v=3","gravatar_id":"","url":"https://api.github.com/users/basz","html_url":"https://github.com/basz","followers_url":"https://api.github.com/users/basz/followers","following_url":"https://api.github.com/users/basz/following{/other_user}","gists_url":"https://api.github.com/users/basz/gists{/gist_id}","starred_url":"https://api.github.com/users/basz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basz/subscriptions","organizations_url":"https://api.github.com/users/basz/orgs","repos_url":"https://api.github.com/users/basz/repos","events_url":"https://api.github.com/users/basz/events{/privacy}","received_events_url":"https://api.github.com/users/basz/received_events","type":"User","site_admin":false},"repo":{"id":49982123,"name":"zfr-oauth2-server","full_name":"basz/zfr-oauth2-server","owner":{"login":"basz","id":143068,"avatar_url":"https://avatars.githubusercontent.com/u/143068?v=3","gravatar_id":"","url":"https://api.github.com/users/basz","html_url":"https://github.com/basz","followers_url":"https://api.github.com/users/basz/followers","following_url":"https://api.github.com/users/basz/following{/other_user}","gists_url":"https://api.github.com/users/basz/gists{/gist_id}","starred_url":"https://api.github.com/users/basz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basz/subscriptions","organizations_url":"https://api.github.com/users/basz/orgs","repos_url":"https://api.github.com/users/basz/repos","events_url":"https://api.github.com/users/basz/events{/privacy}","received_events_url":"https://api.github.com/users/basz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/basz/zfr-oauth2-server","description":"PHP library for creating an OAuth 2 server (currently proof of concept)","fork":true,"url":"https://api.github.com/repos/basz/zfr-oauth2-server","forks_url":"https://api.github.com/repos/basz/zfr-oauth2-server/forks","keys_url":"https://api.github.com/repos/basz/zfr-oauth2-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/basz/zfr-oauth2-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/basz/zfr-oauth2-server/teams","hooks_url":"https://api.github.com/repos/basz/zfr-oauth2-server/hooks","issue_events_url":"https://api.github.com/repos/basz/zfr-oauth2-server/issues/events{/number}","events_url":"https://api.github.com/repos/basz/zfr-oauth2-server/events","assignees_url":"https://api.github.com/repos/basz/zfr-oauth2-server/assignees{/user}","branches_url":"https://api.github.com/repos/basz/zfr-oauth2-server/branches{/branch}","tags_url":"https://api.github.com/repos/basz/zfr-oauth2-server/tags","blobs_url":"https://api.github.com/repos/basz/zfr-oauth2-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/basz/zfr-oauth2-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/basz/zfr-oauth2-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/basz/zfr-oauth2-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/basz/zfr-oauth2-server/statuses/{sha}","languages_url":"https://api.github.com/repos/basz/zfr-oauth2-server/languages","stargazers_url":"https://api.github.com/repos/basz/zfr-oauth2-server/stargazers","contributors_url":"https://api.github.com/repos/basz/zfr-oauth2-server/contributors","subscribers_url":"https://api.github.com/repos/basz/zfr-oauth2-server/subscribers","subscription_url":"https://api.github.com/repos/basz/zfr-oauth2-server/subscription","commits_url":"https://api.github.com/repos/basz/zfr-oauth2-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/basz/zfr-oauth2-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/basz/zfr-oauth2-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/basz/zfr-oauth2-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/basz/zfr-oauth2-server/contents/{+path}","compare_url":"https://api.github.com/repos/basz/zfr-oauth2-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/basz/zfr-oauth2-server/merges","archive_url":"https://api.github.com/repos/basz/zfr-oauth2-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/basz/zfr-oauth2-server/downloads","issues_url":"https://api.github.com/repos/basz/zfr-oauth2-server/issues{/number}","pulls_url":"https://api.github.com/repos/basz/zfr-oauth2-server/pulls{/number}","milestones_url":"https://api.github.com/repos/basz/zfr-oauth2-server/milestones{/number}","notifications_url":"https://api.github.com/repos/basz/zfr-oauth2-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/basz/zfr-oauth2-server/labels{/name}","releases_url":"https://api.github.com/repos/basz/zfr-oauth2-server/releases{/id}","deployments_url":"https://api.github.com/repos/basz/zfr-oauth2-server/deployments","created_at":"2016-01-19T20:49:05Z","updated_at":"2016-01-19T20:49:06Z","pushed_at":"2016-01-26T12:28:07Z","git_url":"git://github.com/basz/zfr-oauth2-server.git","ssh_url":"git@github.com:basz/zfr-oauth2-server.git","clone_url":"https://github.com/basz/zfr-oauth2-server.git","svn_url":"https://github.com/basz/zfr-oauth2-server","homepage":null,"size":322,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"zf-fr:middleware","ref":"middleware","sha":"88d3072cb180b636fcf9f427e09a828c42b1b2d8","user":{"login":"zf-fr","id":2602400,"avatar_url":"https://avatars.githubusercontent.com/u/2602400?v=3","gravatar_id":"","url":"https://api.github.com/users/zf-fr","html_url":"https://github.com/zf-fr","followers_url":"https://api.github.com/users/zf-fr/followers","following_url":"https://api.github.com/users/zf-fr/following{/other_user}","gists_url":"https://api.github.com/users/zf-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/zf-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zf-fr/subscriptions","organizations_url":"https://api.github.com/users/zf-fr/orgs","repos_url":"https://api.github.com/users/zf-fr/repos","events_url":"https://api.github.com/users/zf-fr/events{/privacy}","received_events_url":"https://api.github.com/users/zf-fr/received_events","type":"Organization","site_admin":false},"repo":{"id":15472067,"name":"zfr-oauth2-server","full_name":"zf-fr/zfr-oauth2-server","owner":{"login":"zf-fr","id":2602400,"avatar_url":"https://avatars.githubusercontent.com/u/2602400?v=3","gravatar_id":"","url":"https://api.github.com/users/zf-fr","html_url":"https://github.com/zf-fr","followers_url":"https://api.github.com/users/zf-fr/followers","following_url":"https://api.github.com/users/zf-fr/following{/other_user}","gists_url":"https://api.github.com/users/zf-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/zf-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zf-fr/subscriptions","organizations_url":"https://api.github.com/users/zf-fr/orgs","repos_url":"https://api.github.com/users/zf-fr/repos","events_url":"https://api.github.com/users/zf-fr/events{/privacy}","received_events_url":"https://api.github.com/users/zf-fr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zf-fr/zfr-oauth2-server","description":"PHP library for creating an OAuth 2 server (currently proof of concept)","fork":false,"url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server","forks_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/forks","keys_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/teams","hooks_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/hooks","issue_events_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/issues/events{/number}","events_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/events","assignees_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/assignees{/user}","branches_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/branches{/branch}","tags_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/tags","blobs_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/statuses/{sha}","languages_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/languages","stargazers_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/stargazers","contributors_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/contributors","subscribers_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/subscribers","subscription_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/subscription","commits_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/contents/{+path}","compare_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/merges","archive_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/downloads","issues_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/issues{/number}","pulls_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/pulls{/number}","milestones_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/milestones{/number}","notifications_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/labels{/name}","releases_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/releases{/id}","deployments_url":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/deployments","created_at":"2013-12-27T10:53:33Z","updated_at":"2016-01-26T09:42:25Z","pushed_at":"2016-01-26T12:33:25Z","git_url":"git://github.com/zf-fr/zfr-oauth2-server.git","ssh_url":"git@github.com:zf-fr/zfr-oauth2-server.git","clone_url":"https://github.com/zf-fr/zfr-oauth2-server.git","svn_url":"https://github.com/zf-fr/zfr-oauth2-server","homepage":null,"size":299,"stargazers_count":29,"watchers_count":29,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":6,"forks":10,"open_issues":6,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/pulls/38"},"html":{"href":"https://github.com/zf-fr/zfr-oauth2-server/pull/38"},"issue":{"href":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/issues/38"},"comments":{"href":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/zf-fr/zfr-oauth2-server/statuses/0033ed7b810a321eb762773b2cc9bcda49141e74"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bakura10","id":1198915,"avatar_url":"https://avatars.githubusercontent.com/u/1198915?v=3","gravatar_id":"","url":"https://api.github.com/users/bakura10","html_url":"https://github.com/bakura10","followers_url":"https://api.github.com/users/bakura10/followers","following_url":"https://api.github.com/users/bakura10/following{/other_user}","gists_url":"https://api.github.com/users/bakura10/gists{/gist_id}","starred_url":"https://api.github.com/users/bakura10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakura10/subscriptions","organizations_url":"https://api.github.com/users/bakura10/orgs","repos_url":"https://api.github.com/users/bakura10/repos","events_url":"https://api.github.com/users/bakura10/events{/privacy}","received_events_url":"https://api.github.com/users/bakura10/received_events","type":"User","site_admin":false},"comments":2,"review_comments":20,"commits":31,"additions":1654,"deletions":530,"changed_files":53}}