Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1028417 // googleAuthorizationCodeToTokens_raw

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4080L/27K).

1  
static Map googleAuthorizationCodeToTokens_raw(S client_id, S client_secret, S redirect_uri, S code) {
2  
  ret decodeJSONMap(postPage("https://oauth2.googleapis.com/token",
3  
    +code, +client_id,
4  
    +client_secret,
5  
    +redirect_uri,
6  
    grant_type := "authorization_code"));
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028417
Snippet name: googleAuthorizationCodeToTokens_raw
Eternal ID of this version: #1028417/4
Text MD5: 8c3a2584e6b723a0d34ca4c6c30a72a6
Transpilation MD5: d6873cef65c923a941f41173d529bd01
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-17 14:40:18
Source code size: 282 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 250 / 322
Version history: 3 change(s)
Referenced in: [show references]