{"action":"created","issue":{"url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/276","labels_url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/276/labels{/name}","comments_url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/276/comments","events_url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/276/events","html_url":"https://github.com/lucadegasperi/oauth2-server-laravel/issues/276","id":53151827,"number":276,"title":"Allow easier setup of multiple grant types using config as identifier","user":{"login":"dmyers","id":207171,"avatar_url":"https://avatars.githubusercontent.com/u/207171?v=3","gravatar_id":"","url":"https://api.github.com/users/dmyers","html_url":"https://github.com/dmyers","followers_url":"https://api.github.com/users/dmyers/followers","following_url":"https://api.github.com/users/dmyers/following{/other_user}","gists_url":"https://api.github.com/users/dmyers/gists{/gist_id}","starred_url":"https://api.github.com/users/dmyers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmyers/subscriptions","organizations_url":"https://api.github.com/users/dmyers/orgs","repos_url":"https://api.github.com/users/dmyers/repos","events_url":"https://api.github.com/users/dmyers/events{/privacy}","received_events_url":"https://api.github.com/users/dmyers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-30T22:15:52Z","updated_at":"2015-01-20T09:54:46Z","closed_at":null,"body":"I noticed in the grant type classes such as `PasswordGrant` there is an `identifier` property, but if you want to setup several password grant types for multiple user resource types you have to create your own classes which extend the `PasswordGrant` class and set the identifier property.\r\n\r\nIt seems what could be easier is inside the config use the key as the identifier of that grant instance instead. What do you think?"},"comment":{"url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/comments/70629394","html_url":"https://github.com/lucadegasperi/oauth2-server-laravel/issues/276#issuecomment-70629394","issue_url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/276","id":70629394,"user":{"login":"lucadegasperi","id":820687,"avatar_url":"https://avatars.githubusercontent.com/u/820687?v=3","gravatar_id":"","url":"https://api.github.com/users/lucadegasperi","html_url":"https://github.com/lucadegasperi","followers_url":"https://api.github.com/users/lucadegasperi/followers","following_url":"https://api.github.com/users/lucadegasperi/following{/other_user}","gists_url":"https://api.github.com/users/lucadegasperi/gists{/gist_id}","starred_url":"https://api.github.com/users/lucadegasperi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucadegasperi/subscriptions","organizations_url":"https://api.github.com/users/lucadegasperi/orgs","repos_url":"https://api.github.com/users/lucadegasperi/repos","events_url":"https://api.github.com/users/lucadegasperi/events{/privacy}","received_events_url":"https://api.github.com/users/lucadegasperi/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T09:54:46Z","updated_at":"2015-01-20T09:54:46Z","body":"Can you provide me with an example of what you have in mind?"}}