{"action":"created","issue":{"url":"https://api.github.com/repos/Xephi/AuthMeReloaded/issues/736","repository_url":"https://api.github.com/repos/Xephi/AuthMeReloaded","labels_url":"https://api.github.com/repos/Xephi/AuthMeReloaded/issues/736/labels{/name}","comments_url":"https://api.github.com/repos/Xephi/AuthMeReloaded/issues/736/comments","events_url":"https://api.github.com/repos/Xephi/AuthMeReloaded/issues/736/events","html_url":"https://github.com/Xephi/AuthMeReloaded/issues/736","id":157624404,"number":736,"title":"[Dev] Remove service getters on AuthMe class","user":{"login":"ljacqu","id":8417009,"avatar_url":"https://avatars.githubusercontent.com/u/8417009?v=3","gravatar_id":"","url":"https://api.github.com/users/ljacqu","html_url":"https://github.com/ljacqu","followers_url":"https://api.github.com/users/ljacqu/followers","following_url":"https://api.github.com/users/ljacqu/following{/other_user}","gists_url":"https://api.github.com/users/ljacqu/gists{/gist_id}","starred_url":"https://api.github.com/users/ljacqu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljacqu/subscriptions","organizations_url":"https://api.github.com/users/ljacqu/orgs","repos_url":"https://api.github.com/users/ljacqu/repos","events_url":"https://api.github.com/users/ljacqu/events{/privacy}","received_events_url":"https://api.github.com/users/ljacqu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Xephi/AuthMeReloaded/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"ljacqu","id":8417009,"avatar_url":"https://avatars.githubusercontent.com/u/8417009?v=3","gravatar_id":"","url":"https://api.github.com/users/ljacqu","html_url":"https://github.com/ljacqu","followers_url":"https://api.github.com/users/ljacqu/followers","following_url":"https://api.github.com/users/ljacqu/following{/other_user}","gists_url":"https://api.github.com/users/ljacqu/gists{/gist_id}","starred_url":"https://api.github.com/users/ljacqu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljacqu/subscriptions","organizations_url":"https://api.github.com/users/ljacqu/orgs","repos_url":"https://api.github.com/users/ljacqu/repos","events_url":"https://api.github.com/users/ljacqu/events{/privacy}","received_events_url":"https://api.github.com/users/ljacqu/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-05-31T09:11:36Z","updated_at":"2016-06-03T09:13:07Z","closed_at":null,"body":"Services shouldn't be retrieved from the `AuthMe` instance (and conversely, `AuthMe` shouldn't have to keep track of several services for the sake of implementing a getter). \r\n\r\nThe goal is to remove those getters (e.g. `getDataSource()`) from AuthMe. This requires two things:\r\n- the `NewAPI(AuthMe)` constructor is probably good to keep like that -> need to find a way to pass the remaining services (get injector from AuthMe?)\r\n- the `Utils` class makes heavy use of those getX() methods -> such methods need to be moved into another class (e.g. BukkitService / ValidationService). Stuff like Utils.getPlayerIp() is fine of course.\r\n\r\nSome stuff might be potentially blocked by #723.\r\n"},"comment":{"url":"https://api.github.com/repos/Xephi/AuthMeReloaded/issues/comments/223530087","html_url":"https://github.com/Xephi/AuthMeReloaded/issues/736#issuecomment-223530087","issue_url":"https://api.github.com/repos/Xephi/AuthMeReloaded/issues/736","id":223530087,"user":{"login":"ljacqu","id":8417009,"avatar_url":"https://avatars.githubusercontent.com/u/8417009?v=3","gravatar_id":"","url":"https://api.github.com/users/ljacqu","html_url":"https://github.com/ljacqu","followers_url":"https://api.github.com/users/ljacqu/followers","following_url":"https://api.github.com/users/ljacqu/following{/other_user}","gists_url":"https://api.github.com/users/ljacqu/gists{/gist_id}","starred_url":"https://api.github.com/users/ljacqu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljacqu/subscriptions","organizations_url":"https://api.github.com/users/ljacqu/orgs","repos_url":"https://api.github.com/users/ljacqu/repos","events_url":"https://api.github.com/users/ljacqu/events{/privacy}","received_events_url":"https://api.github.com/users/ljacqu/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T09:13:07Z","updated_at":"2016-06-03T09:13:07Z","body":"@sgdc3 ?"}}
{"actor":{"display_login":"ljacqu"}}