diff --git a/sec/com/googleapis.hoon b/sec/com/googleapis.hoon index dd202cc4c..c1b1bcee9 100644 --- a/sec/com/googleapis.hoon +++ b/sec/com/googleapis.hoon @@ -16,14 +16,14 @@ == :: ++ auth-usr - |= usr/iden + |= usr/user:eyre =+ lon=(fall (slaw %t usr) usr) %+ add-query:interpolate 'https://accounts.google.com/o/oauth2/v2/auth' %- quay:hep-to-cab :~ login-hint+?~(lon '' (crip (rash lon suffix-email))) access-type+%offline response-type+%code - prompt+%clhpent + prompt+%consent == ++ scopes :~ 'https://mail.google.com' @@ -36,7 +36,7 @@ :: :::: :: -|_ {bal/(bale keys:oauth2) own/user-state} +|_ {bal/(bale:eyre keys:oauth2) own/user-state} :: ++auth is a "standard refreshing oauth2" core, which implements the :: most common handling of oauth2 semantics. see lib/oauth2 for more details, :: and examples at the bottom of the file.