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

*credentials-cacheclj

source

*fetchclj

source

*saveclj

source

*scopesclj

source

*secretclj

source

auth!clj

(auth!)
(auth! user)
source

fetch-credentialsclj

(fetch-credentials user)
source

init!clj

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

save-credentialsclj

(save-credentials user new-credentials)
source

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

× close