Skip to content

Instantly share code, notes, and snippets.

@GitEliteNovice
Created July 25, 2019 09:47
Show Gist options
  • Select an option

  • Save GitEliteNovice/8d022eafb464cf08cc9d776134722d92 to your computer and use it in GitHub Desktop.

Select an option

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