{"action":"created","issue":{"url":"https://api.github.com/repos/gesdinet/JWTRefreshTokenBundle/issues/96","repository_url":"https://api.github.com/repos/gesdinet/JWTRefreshTokenBundle","labels_url":"https://api.github.com/repos/gesdinet/JWTRefreshTokenBundle/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/gesdinet/JWTRefreshTokenBundle/issues/96/comments","events_url":"https://api.github.com/repos/gesdinet/JWTRefreshTokenBundle/issues/96/events","html_url":"https://github.com/gesdinet/JWTRefreshTokenBundle/pull/96","id":301805272,"number":96,"title":"Allow optional extending RefreshToken class","user":{"login":"supersmile2009","id":25199815,"avatar_url":"https://avatars1.githubusercontent.com/u/25199815?v=4","gravatar_id":"","url":"https://api.github.com/users/supersmile2009","html_url":"https://github.com/supersmile2009","followers_url":"https://api.github.com/users/supersmile2009/followers","following_url":"https://api.github.com/users/supersmile2009/following{/other_user}","gists_url":"https://api.github.com/users/supersmile2009/gists{/gist_id}","starred_url":"https://api.github.com/users/supersmile2009/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supersmile2009/subscriptions","organizations_url":"https://api.github.com/users/supersmile2009/orgs","repos_url":"https://api.github.com/users/supersmile2009/repos","events_url":"https://api.github.com/users/supersmile2009/events{/privacy}","received_events_url":"https://api.github.com/users/supersmile2009/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-02T15:32:28Z","updated_at":"2018-04-25T13:39:56Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/gesdinet/JWTRefreshTokenBundle/pulls/96","html_url":"https://github.com/gesdinet/JWTRefreshTokenBundle/pull/96","diff_url":"https://github.com/gesdinet/JWTRefreshTokenBundle/pull/96.diff","patch_url":"https://github.com/gesdinet/JWTRefreshTokenBundle/pull/96.patch"},"body":"This PR fixes #70, #51, #73.\r\n\r\nIt's based on PR #71 by @xthiago, but takes the idea even further and fixes more issues.\r\n\r\nI use a set of different doctrine mapping configs in yml filex. Compiler pass checks if refresh_token_entity parameter is set.\r\nIf this parameter is not set, compiler pass will load an Entity mapping for built-in `RefreshToken` entity. The bundle will behave as usual - you get a ready to use entity stored in `refresh_tokens` table.\r\nIf this parameter is set, it will apply a MappedSuperclass mapping, allowing user to extend `AbstractRefreshToken` or `RefreshToken`. In this case user will be able to define table name of his choice and extra useless `refresh_tokens` table won't be created (#51).\r\n\r\nP.S. We can also bump PHP version requirement to >=5.5.9 in composer.json, which is Symfony 3.0 requirement. It makes no sense to keep it at 5.3.3."},"comment":{"url":"https://api.github.com/repos/gesdinet/JWTRefreshTokenBundle/issues/comments/384290033","html_url":"https://github.com/gesdinet/JWTRefreshTokenBundle/pull/96#issuecomment-384290033","issue_url":"https://api.github.com/repos/gesdinet/JWTRefreshTokenBundle/issues/96","id":384290033,"user":{"login":"supersmile2009","id":25199815,"avatar_url":"https://avatars1.githubusercontent.com/u/25199815?v=4","gravatar_id":"","url":"https://api.github.com/users/supersmile2009","html_url":"https://github.com/supersmile2009","followers_url":"https://api.github.com/users/supersmile2009/followers","following_url":"https://api.github.com/users/supersmile2009/following{/other_user}","gists_url":"https://api.github.com/users/supersmile2009/gists{/gist_id}","starred_url":"https://api.github.com/users/supersmile2009/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supersmile2009/subscriptions","organizations_url":"https://api.github.com/users/supersmile2009/orgs","repos_url":"https://api.github.com/users/supersmile2009/repos","events_url":"https://api.github.com/users/supersmile2009/events{/privacy}","received_events_url":"https://api.github.com/users/supersmile2009/received_events","type":"User","site_admin":false},"created_at":"2018-04-25T13:39:56Z","updated_at":"2018-04-25T13:39:56Z","author_association":"NONE","body":"@markitosgv, @djoos Hey guys!\r\nSorry, I've been quite busy lately, didn't have time for this.\r\nBut here it is finally, rebased, conflicts resolved :) I hope it gets accepted and we can finally switch back to using upstream version instead of a fork.\r\n\r\nWe've been using this in production for about 6 month now."}}
{"actor":{"display_login":"supersmile2009"}}