Skip to content

Instantly share code, notes, and snippets.

@MaartenSmeets
Created October 27, 2018 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MaartenSmeets/0e2878abdb4905f1604056ef54bec9ad to your computer and use it in GitHub Desktop.
Save MaartenSmeets/0e2878abdb4905f1604056ef54bec9ad to your computer and use it in GitHub Desktop.
Return the token
String output = String.format("{ \"access_token\" : \"%s\",\n" + " \"scope\" : \"read write\",\n" + " \"token_type\" : \"Bearer\",\n" + " \"expires_in\" : %s\n}", token,expirytime);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment