{"action":"opened","number":39,"pull_request":{"url":"https://api.github.com/repos/FriendsOfCake/Authenticate/pulls/39","id":30217586,"html_url":"https://github.com/FriendsOfCake/Authenticate/pull/39","diff_url":"https://github.com/FriendsOfCake/Authenticate/pull/39.diff","patch_url":"https://github.com/FriendsOfCake/Authenticate/pull/39.patch","issue_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/issues/39","number":39,"state":"open","locked":false,"title":"Fix Fatal error: Class 'BadRequestException' not found","user":{"login":"kamui545","id":356978,"avatar_url":"https://avatars.githubusercontent.com/u/356978?v=3","gravatar_id":"","url":"https://api.github.com/users/kamui545","html_url":"https://github.com/kamui545","followers_url":"https://api.github.com/users/kamui545/followers","following_url":"https://api.github.com/users/kamui545/following{/other_user}","gists_url":"https://api.github.com/users/kamui545/gists{/gist_id}","starred_url":"https://api.github.com/users/kamui545/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamui545/subscriptions","organizations_url":"https://api.github.com/users/kamui545/orgs","repos_url":"https://api.github.com/users/kamui545/repos","events_url":"https://api.github.com/users/kamui545/events{/privacy}","received_events_url":"https://api.github.com/users/kamui545/received_events","type":"User","site_admin":false},"body":"When using the TokenAuthentication without `continue => false`, we got the following error:\r\n\r\n`Fatal error: Class 'BadRequestException' not found in /vendor/friendsofcake/authenticate/src/Auth/TokenAuthenticate.php on line 106`\r\n\r\nHere's a patch to fix that","created_at":"2015-02-28T03:31:50Z","updated_at":"2015-02-28T03:31:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/pulls/39/commits","review_comments_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/pulls/39/comments","review_comment_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/issues/39/comments","statuses_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/statuses/84e480b5de115e2470a187143c0e9899ea44ec59","head":{"label":"kamui545:patch-1","ref":"patch-1","sha":"84e480b5de115e2470a187143c0e9899ea44ec59","user":{"login":"kamui545","id":356978,"avatar_url":"https://avatars.githubusercontent.com/u/356978?v=3","gravatar_id":"","url":"https://api.github.com/users/kamui545","html_url":"https://github.com/kamui545","followers_url":"https://api.github.com/users/kamui545/followers","following_url":"https://api.github.com/users/kamui545/following{/other_user}","gists_url":"https://api.github.com/users/kamui545/gists{/gist_id}","starred_url":"https://api.github.com/users/kamui545/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamui545/subscriptions","organizations_url":"https://api.github.com/users/kamui545/orgs","repos_url":"https://api.github.com/users/kamui545/repos","events_url":"https://api.github.com/users/kamui545/events{/privacy}","received_events_url":"https://api.github.com/users/kamui545/received_events","type":"User","site_admin":false},"repo":{"id":31449570,"name":"Authenticate","full_name":"kamui545/Authenticate","owner":{"login":"kamui545","id":356978,"avatar_url":"https://avatars.githubusercontent.com/u/356978?v=3","gravatar_id":"","url":"https://api.github.com/users/kamui545","html_url":"https://github.com/kamui545","followers_url":"https://api.github.com/users/kamui545/followers","following_url":"https://api.github.com/users/kamui545/following{/other_user}","gists_url":"https://api.github.com/users/kamui545/gists{/gist_id}","starred_url":"https://api.github.com/users/kamui545/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamui545/subscriptions","organizations_url":"https://api.github.com/users/kamui545/orgs","repos_url":"https://api.github.com/users/kamui545/repos","events_url":"https://api.github.com/users/kamui545/events{/privacy}","received_events_url":"https://api.github.com/users/kamui545/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kamui545/Authenticate","description":"CakePHP plugin with authentication classes for AuthComponent","fork":true,"url":"https://api.github.com/repos/kamui545/Authenticate","forks_url":"https://api.github.com/repos/kamui545/Authenticate/forks","keys_url":"https://api.github.com/repos/kamui545/Authenticate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kamui545/Authenticate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kamui545/Authenticate/teams","hooks_url":"https://api.github.com/repos/kamui545/Authenticate/hooks","issue_events_url":"https://api.github.com/repos/kamui545/Authenticate/issues/events{/number}","events_url":"https://api.github.com/repos/kamui545/Authenticate/events","assignees_url":"https://api.github.com/repos/kamui545/Authenticate/assignees{/user}","branches_url":"https://api.github.com/repos/kamui545/Authenticate/branches{/branch}","tags_url":"https://api.github.com/repos/kamui545/Authenticate/tags","blobs_url":"https://api.github.com/repos/kamui545/Authenticate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kamui545/Authenticate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kamui545/Authenticate/git/refs{/sha}","trees_url":"https://api.github.com/repos/kamui545/Authenticate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kamui545/Authenticate/statuses/{sha}","languages_url":"https://api.github.com/repos/kamui545/Authenticate/languages","stargazers_url":"https://api.github.com/repos/kamui545/Authenticate/stargazers","contributors_url":"https://api.github.com/repos/kamui545/Authenticate/contributors","subscribers_url":"https://api.github.com/repos/kamui545/Authenticate/subscribers","subscription_url":"https://api.github.com/repos/kamui545/Authenticate/subscription","commits_url":"https://api.github.com/repos/kamui545/Authenticate/commits{/sha}","git_commits_url":"https://api.github.com/repos/kamui545/Authenticate/git/commits{/sha}","comments_url":"https://api.github.com/repos/kamui545/Authenticate/comments{/number}","issue_comment_url":"https://api.github.com/repos/kamui545/Authenticate/issues/comments{/number}","contents_url":"https://api.github.com/repos/kamui545/Authenticate/contents/{+path}","compare_url":"https://api.github.com/repos/kamui545/Authenticate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kamui545/Authenticate/merges","archive_url":"https://api.github.com/repos/kamui545/Authenticate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kamui545/Authenticate/downloads","issues_url":"https://api.github.com/repos/kamui545/Authenticate/issues{/number}","pulls_url":"https://api.github.com/repos/kamui545/Authenticate/pulls{/number}","milestones_url":"https://api.github.com/repos/kamui545/Authenticate/milestones{/number}","notifications_url":"https://api.github.com/repos/kamui545/Authenticate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kamui545/Authenticate/labels{/name}","releases_url":"https://api.github.com/repos/kamui545/Authenticate/releases{/id}","created_at":"2015-02-28T03:28:32Z","updated_at":"2015-02-28T03:28:32Z","pushed_at":"2015-02-28T03:31:37Z","git_url":"git://github.com/kamui545/Authenticate.git","ssh_url":"git@github.com:kamui545/Authenticate.git","clone_url":"https://github.com/kamui545/Authenticate.git","svn_url":"https://github.com/kamui545/Authenticate","homepage":"","size":720,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"FriendsOfCake:cake3","ref":"cake3","sha":"694331b4fbb9e4d9177c70fbdd77a1d0481d39b0","user":{"login":"FriendsOfCake","id":5203126,"avatar_url":"https://avatars.githubusercontent.com/u/5203126?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfCake","html_url":"https://github.com/FriendsOfCake","followers_url":"https://api.github.com/users/FriendsOfCake/followers","following_url":"https://api.github.com/users/FriendsOfCake/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfCake/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfCake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfCake/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfCake/orgs","repos_url":"https://api.github.com/users/FriendsOfCake/repos","events_url":"https://api.github.com/users/FriendsOfCake/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfCake/received_events","type":"Organization","site_admin":false},"repo":{"id":3401463,"name":"Authenticate","full_name":"FriendsOfCake/Authenticate","owner":{"login":"FriendsOfCake","id":5203126,"avatar_url":"https://avatars.githubusercontent.com/u/5203126?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfCake","html_url":"https://github.com/FriendsOfCake","followers_url":"https://api.github.com/users/FriendsOfCake/followers","following_url":"https://api.github.com/users/FriendsOfCake/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfCake/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfCake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfCake/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfCake/orgs","repos_url":"https://api.github.com/users/FriendsOfCake/repos","events_url":"https://api.github.com/users/FriendsOfCake/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfCake/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FriendsOfCake/Authenticate","description":"CakePHP plugin with authentication classes for AuthComponent","fork":false,"url":"https://api.github.com/repos/FriendsOfCake/Authenticate","forks_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/forks","keys_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/teams","hooks_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/hooks","issue_events_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/issues/events{/number}","events_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/events","assignees_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/assignees{/user}","branches_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/branches{/branch}","tags_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/tags","blobs_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/git/refs{/sha}","trees_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/statuses/{sha}","languages_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/languages","stargazers_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/stargazers","contributors_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/contributors","subscribers_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/subscribers","subscription_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/subscription","commits_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/commits{/sha}","git_commits_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/git/commits{/sha}","comments_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/comments{/number}","issue_comment_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/issues/comments{/number}","contents_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/contents/{+path}","compare_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/merges","archive_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/downloads","issues_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/issues{/number}","pulls_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/pulls{/number}","milestones_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/milestones{/number}","notifications_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/labels{/name}","releases_url":"https://api.github.com/repos/FriendsOfCake/Authenticate/releases{/id}","created_at":"2012-02-09T21:28:00Z","updated_at":"2015-02-22T12:19:29Z","pushed_at":"2015-02-04T19:01:40Z","git_url":"git://github.com/FriendsOfCake/Authenticate.git","ssh_url":"git@github.com:FriendsOfCake/Authenticate.git","clone_url":"https://github.com/FriendsOfCake/Authenticate.git","svn_url":"https://github.com/FriendsOfCake/Authenticate","homepage":"","size":720,"stargazers_count":65,"watchers_count":65,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":2,"forks":33,"open_issues":2,"watchers":65,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FriendsOfCake/Authenticate/pulls/39"},"html":{"href":"https://github.com/FriendsOfCake/Authenticate/pull/39"},"issue":{"href":"https://api.github.com/repos/FriendsOfCake/Authenticate/issues/39"},"comments":{"href":"https://api.github.com/repos/FriendsOfCake/Authenticate/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/FriendsOfCake/Authenticate/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/FriendsOfCake/Authenticate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FriendsOfCake/Authenticate/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/FriendsOfCake/Authenticate/statuses/84e480b5de115e2470a187143c0e9899ea44ec59"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}