Closed jiangwei1221 closed 9 years ago
Returning the JSON object is a reasonable request. How about add a GitkitUser.getJson() method, or GitkitClient.validateTokenToJson()?
I'm interested in the expiry of the token so GitkitClient.validateTokenToJson() seems more reasonable. I'll create a pull request.
Given a Gitkit token, I'd like to have a verified version of JSON object instead of just the GitkitUser. To do so I suggest to provide a getter for JsonTokenHelper. Please confirm this change is acceptable.
Thanks!