{"action":"created","issue":{"url":"https://api.github.com/repos/ollieread/multiauth/issues/89","labels_url":"https://api.github.com/repos/ollieread/multiauth/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/ollieread/multiauth/issues/89/comments","events_url":"https://api.github.com/repos/ollieread/multiauth/issues/89/events","html_url":"https://github.com/ollieread/multiauth/pull/89","id":62927398,"number":89,"title":"Laravel 5 compatibility","user":{"login":"sboo","id":3823326,"avatar_url":"https://avatars.githubusercontent.com/u/3823326?v=3","gravatar_id":"","url":"https://api.github.com/users/sboo","html_url":"https://github.com/sboo","followers_url":"https://api.github.com/users/sboo/followers","following_url":"https://api.github.com/users/sboo/following{/other_user}","gists_url":"https://api.github.com/users/sboo/gists{/gist_id}","starred_url":"https://api.github.com/users/sboo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sboo/subscriptions","organizations_url":"https://api.github.com/users/sboo/orgs","repos_url":"https://api.github.com/users/sboo/repos","events_url":"https://api.github.com/users/sboo/events{/privacy}","received_events_url":"https://api.github.com/users/sboo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-19T09:24:53Z","updated_at":"2015-06-22T14:57:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ollieread/multiauth/pulls/89","html_url":"https://github.com/ollieread/multiauth/pull/89","diff_url":"https://github.com/ollieread/multiauth/pull/89.diff","patch_url":"https://github.com/ollieread/multiauth/pull/89.patch"},"body":"I updated the base classes to be compatible with Laravel 5.\r\nHowever, the Guard dependency injection in __construct (see for example Middleware\\Authenticate) doesn't work yet.\r\n\r\nFor that, the Serviceprovider needs to register this singleton correctly:\r\n\r\n```\r\n$this->app->singleton('auth.driver', function($app)\r\n{\r\n    return $app['auth']->driver();\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/ollieread/multiauth/issues/comments/114140973","html_url":"https://github.com/ollieread/multiauth/pull/89#issuecomment-114140973","issue_url":"https://api.github.com/repos/ollieread/multiauth/issues/89","id":114140973,"user":{"login":"sboo","id":3823326,"avatar_url":"https://avatars.githubusercontent.com/u/3823326?v=3","gravatar_id":"","url":"https://api.github.com/users/sboo","html_url":"https://github.com/sboo","followers_url":"https://api.github.com/users/sboo/followers","following_url":"https://api.github.com/users/sboo/following{/other_user}","gists_url":"https://api.github.com/users/sboo/gists{/gist_id}","starred_url":"https://api.github.com/users/sboo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sboo/subscriptions","organizations_url":"https://api.github.com/users/sboo/orgs","repos_url":"https://api.github.com/users/sboo/repos","events_url":"https://api.github.com/users/sboo/events{/privacy}","received_events_url":"https://api.github.com/users/sboo/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T14:57:40Z","updated_at":"2015-06-22T14:57:40Z","body":"There is no functional difference with your version at all, I just made it 5.0 compatible. Even 5.1, except that the default auth traits can't be used."}}