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

12
LINES

< > BotCompany Repo | #1028410 // googleOAuthRedirectURL

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

Transpiled version (2592L) is out of date.

sS googleOAuthRedirectURL(S redirect_uri, S client_id, S scope) {
  ret "https://accounts.google.com/o/oauth2/v2/auth"
    + hquery(+scope,
      access_type := "offline",
      //approval_prompt := "force",
      prompt := "consent",
      include_granted_scopes := true,
      response_type := "code",
      state := 1234,
      +redirect_uri,
      +client_id);
}

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: #1028410
Snippet name: googleOAuthRedirectURL
Eternal ID of this version: #1028410/4
Text MD5: 6212d194b615dda80b4943cba786df06
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-03 13:24:30
Source code size: 377 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 200 / 292
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)