Created
October 27, 2018 10:22
-
-
Save MaartenSmeets/0e2878abdb4905f1604056ef54bec9ad to your computer and use it in GitHub Desktop.
Return the token
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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