Libraryless. Click here for Pure Java version (4080L/27K).
static Map googleAuthorizationCodeToTokens_raw(S client_id, S client_secret, S redirect_uri, S code) { ret decodeJSONMap(postPage("https://oauth2.googleapis.com/token", +code, +client_id, +client_secret, +redirect_uri, grant_type := "authorization_code")); }
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: | 504 / 610 |
| Version history: | 3 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |