Liking cljdoc? Tell your friends :D

happy.oauth2-credentials

Reference for how to manage credentials. For a web app, you should implement something like this but use your database for credential storage. secret, scopes, fetch, save have default implementations that you can replace with init!

Reference for how to manage credentials.
For a web app, you should implement something like this but use your database for credential storage.
secret, scopes, fetch, save have default implementations that you can replace with init!
raw docstring

auth!clj

(auth!)
(auth! user)
source

credentials-cacheclj

source

fetchclj

source

fetch-credentialsclj

(fetch-credentials user)
source

init!clj

(init!)
(init! config new-scopes)
(init! config new-scopes fetch-credentials save-credentials)
source

saveclj

source

save-credentialsclj

(save-credentials user new-credentials)
source

scopesclj

source

secretclj

If you download secret.json from your Google Console, do not add it to source control.

If you download secret.json from your Google Console, do not add it to source control.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close