Skip to content

Instantly share code, notes, and snippets.

@GitEliteNovice
Created July 25, 2019 09:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save GitEliteNovice/8d022eafb464cf08cc9d776134722d92 to your computer and use it in GitHub Desktop.
Save GitEliteNovice/8d022eafb464cf08cc9d776134722d92 to your computer and use it in GitHub Desktop.
private static String getAccessTokenUrl(String authorizationToken) {
return ACCESS_TOKEN_URL
+ QUESTION_MARK
+ GRANT_TYPE_PARAM + EQUALS + GRANT_TYPE
+ AMPERSAND
+ RESPONSE_TYPE_VALUE + EQUALS + authorizationToken
+ AMPERSAND
+ CLIENT_ID_PARAM + EQUALS + API_KEY
+ AMPERSAND
+ REDIRECT_URI_PARAM + EQUALS + REDIRECT_URI
+ AMPERSAND
+ SECRET_KEY_PARAM + EQUALS + SECRET_KEY;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment