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.

1  
sS googleOAuthRedirectURL(S redirect_uri, S client_id, S scope) {
2  
  ret "https://accounts.google.com/o/oauth2/v2/auth"
3  
    + hquery(+scope,
4  
      access_type := "offline",
5  
      //approval_prompt := "force",
6  
      prompt := "consent",
7  
      include_granted_scopes := true,
8  
      response_type := "code",
9  
      state := 1234,
10  
      +redirect_uri,
11  
      +client_id);
12  
}

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: 201 / 294
Version history: 3 change(s)
Referenced in: [show references]