{"action":"created","comment":{"url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/pulls/comments/105843174","pull_request_review_id":26739771,"id":105843174,"diff_hunk":"@@ -16,18 +16,22 @@\n  */\r\n class TokenAction extends \\yii\\base\\Action\r\n {\r\n+    /** Format of response\r\n+     * @var string\r\n+     */\r\n+    public $format = Response::FORMAT_JSON;\r\n \r\n     public $grantTypes = [\r\n         'authorization_code' => 'conquer\\oauth2\\granttypes\\Authorization',\r\n         'refresh_token' => 'conquer\\oauth2\\granttypes\\RefreshToken',\r\n //         'client_credentials' => 'conquer\\oauth2\\granttypes\\ClientCredentials',\r\n-//         'password' => 'conquer\\oauth2\\granttypes\\UserCredentials',\r\n+         'password' => 'conquer\\oauth2\\granttypes\\UserCredentials',\r","path":"TokenAction.php","position":14,"original_position":14,"commit_id":"f907911b0c1dc1dfc646de505ba55a7121942451","original_commit_id":"f907911b0c1dc1dfc646de505ba55a7121942451","user":{"login":"borodulin","id":8121448,"avatar_url":"https://avatars3.githubusercontent.com/u/8121448?v=3","gravatar_id":"","url":"https://api.github.com/users/borodulin","html_url":"https://github.com/borodulin","followers_url":"https://api.github.com/users/borodulin/followers","following_url":"https://api.github.com/users/borodulin/following{/other_user}","gists_url":"https://api.github.com/users/borodulin/gists{/gist_id}","starred_url":"https://api.github.com/users/borodulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borodulin/subscriptions","organizations_url":"https://api.github.com/users/borodulin/orgs","repos_url":"https://api.github.com/users/borodulin/repos","events_url":"https://api.github.com/users/borodulin/events{/privacy}","received_events_url":"https://api.github.com/users/borodulin/received_events","type":"User","site_admin":false},"body":"давай выключим, чтобы не ломать текущий функционал. Кому надо - включат.","created_at":"2017-03-14T07:47:26Z","updated_at":"2017-03-14T07:47:26Z","html_url":"https://github.com/borodulin/yii2-oauth2-server/pull/19#discussion_r105843174","pull_request_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/borodulin/yii2-oauth2-server/pulls/comments/105843174"},"html":{"href":"https://github.com/borodulin/yii2-oauth2-server/pull/19#discussion_r105843174"},"pull_request":{"href":"https://api.github.com/repos/borodulin/yii2-oauth2-server/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/pulls/19","id":110392362,"html_url":"https://github.com/borodulin/yii2-oauth2-server/pull/19","diff_url":"https://github.com/borodulin/yii2-oauth2-server/pull/19.diff","patch_url":"https://github.com/borodulin/yii2-oauth2-server/pull/19.patch","issue_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/issues/19","number":19,"state":"open","locked":false,"title":"Resource Owner Password Credentials Grant","user":{"login":"atakajlo","id":5870060,"avatar_url":"https://avatars2.githubusercontent.com/u/5870060?v=3","gravatar_id":"","url":"https://api.github.com/users/atakajlo","html_url":"https://github.com/atakajlo","followers_url":"https://api.github.com/users/atakajlo/followers","following_url":"https://api.github.com/users/atakajlo/following{/other_user}","gists_url":"https://api.github.com/users/atakajlo/gists{/gist_id}","starred_url":"https://api.github.com/users/atakajlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atakajlo/subscriptions","organizations_url":"https://api.github.com/users/atakajlo/orgs","repos_url":"https://api.github.com/users/atakajlo/repos","events_url":"https://api.github.com/users/atakajlo/events{/privacy}","received_events_url":"https://api.github.com/users/atakajlo/received_events","type":"User","site_admin":false},"body":"Базовая реализация https://tools.ietf.org/html/rfc6749#section-4.3\r\n\r\nБез поддержки Basic и Digest авторизации.","created_at":"2017-03-13T12:20:02Z","updated_at":"2017-03-14T07:47:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a84705dcccb700b09251b699e294a92a9a01d9ed","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/pulls/19/commits","review_comments_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/pulls/19/comments","review_comment_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/issues/19/comments","statuses_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/statuses/f907911b0c1dc1dfc646de505ba55a7121942451","head":{"label":"atakajlo:password_auth","ref":"password_auth","sha":"f907911b0c1dc1dfc646de505ba55a7121942451","user":{"login":"atakajlo","id":5870060,"avatar_url":"https://avatars2.githubusercontent.com/u/5870060?v=3","gravatar_id":"","url":"https://api.github.com/users/atakajlo","html_url":"https://github.com/atakajlo","followers_url":"https://api.github.com/users/atakajlo/followers","following_url":"https://api.github.com/users/atakajlo/following{/other_user}","gists_url":"https://api.github.com/users/atakajlo/gists{/gist_id}","starred_url":"https://api.github.com/users/atakajlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atakajlo/subscriptions","organizations_url":"https://api.github.com/users/atakajlo/orgs","repos_url":"https://api.github.com/users/atakajlo/repos","events_url":"https://api.github.com/users/atakajlo/events{/privacy}","received_events_url":"https://api.github.com/users/atakajlo/received_events","type":"User","site_admin":false},"repo":{"id":84450099,"name":"yii2-oauth2-server","full_name":"atakajlo/yii2-oauth2-server","owner":{"login":"atakajlo","id":5870060,"avatar_url":"https://avatars2.githubusercontent.com/u/5870060?v=3","gravatar_id":"","url":"https://api.github.com/users/atakajlo","html_url":"https://github.com/atakajlo","followers_url":"https://api.github.com/users/atakajlo/followers","following_url":"https://api.github.com/users/atakajlo/following{/other_user}","gists_url":"https://api.github.com/users/atakajlo/gists{/gist_id}","starred_url":"https://api.github.com/users/atakajlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atakajlo/subscriptions","organizations_url":"https://api.github.com/users/atakajlo/orgs","repos_url":"https://api.github.com/users/atakajlo/repos","events_url":"https://api.github.com/users/atakajlo/events{/privacy}","received_events_url":"https://api.github.com/users/atakajlo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/atakajlo/yii2-oauth2-server","description":null,"fork":true,"url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server","forks_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/forks","keys_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/teams","hooks_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/hooks","issue_events_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/issues/events{/number}","events_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/events","assignees_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/assignees{/user}","branches_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/branches{/branch}","tags_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/tags","blobs_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/statuses/{sha}","languages_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/languages","stargazers_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/stargazers","contributors_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/contributors","subscribers_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/subscribers","subscription_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/subscription","commits_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/contents/{+path}","compare_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/merges","archive_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/downloads","issues_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/issues{/number}","pulls_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/pulls{/number}","milestones_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/milestones{/number}","notifications_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/labels{/name}","releases_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/releases{/id}","deployments_url":"https://api.github.com/repos/atakajlo/yii2-oauth2-server/deployments","created_at":"2017-03-09T14:18:30Z","updated_at":"2017-03-09T14:18:31Z","pushed_at":"2017-03-14T07:33:29Z","git_url":"git://github.com/atakajlo/yii2-oauth2-server.git","ssh_url":"git@github.com:atakajlo/yii2-oauth2-server.git","clone_url":"https://github.com/atakajlo/yii2-oauth2-server.git","svn_url":"https://github.com/atakajlo/yii2-oauth2-server","homepage":null,"size":139,"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":"borodulin:master","ref":"master","sha":"7e10340d69734ac7e3a11a014f76e10dc7e69477","user":{"login":"borodulin","id":8121448,"avatar_url":"https://avatars3.githubusercontent.com/u/8121448?v=3","gravatar_id":"","url":"https://api.github.com/users/borodulin","html_url":"https://github.com/borodulin","followers_url":"https://api.github.com/users/borodulin/followers","following_url":"https://api.github.com/users/borodulin/following{/other_user}","gists_url":"https://api.github.com/users/borodulin/gists{/gist_id}","starred_url":"https://api.github.com/users/borodulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borodulin/subscriptions","organizations_url":"https://api.github.com/users/borodulin/orgs","repos_url":"https://api.github.com/users/borodulin/repos","events_url":"https://api.github.com/users/borodulin/events{/privacy}","received_events_url":"https://api.github.com/users/borodulin/received_events","type":"User","site_admin":false},"repo":{"id":37192020,"name":"yii2-oauth2-server","full_name":"borodulin/yii2-oauth2-server","owner":{"login":"borodulin","id":8121448,"avatar_url":"https://avatars3.githubusercontent.com/u/8121448?v=3","gravatar_id":"","url":"https://api.github.com/users/borodulin","html_url":"https://github.com/borodulin","followers_url":"https://api.github.com/users/borodulin/followers","following_url":"https://api.github.com/users/borodulin/following{/other_user}","gists_url":"https://api.github.com/users/borodulin/gists{/gist_id}","starred_url":"https://api.github.com/users/borodulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borodulin/subscriptions","organizations_url":"https://api.github.com/users/borodulin/orgs","repos_url":"https://api.github.com/users/borodulin/repos","events_url":"https://api.github.com/users/borodulin/events{/privacy}","received_events_url":"https://api.github.com/users/borodulin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/borodulin/yii2-oauth2-server","description":null,"fork":false,"url":"https://api.github.com/repos/borodulin/yii2-oauth2-server","forks_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/forks","keys_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/teams","hooks_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/hooks","issue_events_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/issues/events{/number}","events_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/events","assignees_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/assignees{/user}","branches_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/branches{/branch}","tags_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/tags","blobs_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/statuses/{sha}","languages_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/languages","stargazers_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/stargazers","contributors_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/contributors","subscribers_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/subscribers","subscription_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/subscription","commits_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/contents/{+path}","compare_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/merges","archive_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/downloads","issues_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/issues{/number}","pulls_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/pulls{/number}","milestones_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/milestones{/number}","notifications_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/labels{/name}","releases_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/releases{/id}","deployments_url":"https://api.github.com/repos/borodulin/yii2-oauth2-server/deployments","created_at":"2015-06-10T10:59:56Z","updated_at":"2017-03-04T13:38:01Z","pushed_at":"2017-03-14T07:33:31Z","git_url":"git://github.com/borodulin/yii2-oauth2-server.git","ssh_url":"git@github.com:borodulin/yii2-oauth2-server.git","clone_url":"https://github.com/borodulin/yii2-oauth2-server.git","svn_url":"https://github.com/borodulin/yii2-oauth2-server","homepage":null,"size":137,"stargazers_count":24,"watchers_count":24,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":21,"mirror_url":null,"open_issues_count":1,"forks":21,"open_issues":1,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/borodulin/yii2-oauth2-server/pulls/19"},"html":{"href":"https://github.com/borodulin/yii2-oauth2-server/pull/19"},"issue":{"href":"https://api.github.com/repos/borodulin/yii2-oauth2-server/issues/19"},"comments":{"href":"https://api.github.com/repos/borodulin/yii2-oauth2-server/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/borodulin/yii2-oauth2-server/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/borodulin/yii2-oauth2-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/borodulin/yii2-oauth2-server/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/borodulin/yii2-oauth2-server/statuses/f907911b0c1dc1dfc646de505ba55a7121942451"}}}}
{"actor":{"display_login":"borodulin"}}