Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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