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


*fetchclj


*saveclj


*scopesclj


*secretclj


auth!clj

(auth!)
(auth! user)

fetch-credentialsclj

(fetch-credentials user)

init!clj

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

save-credentialsclj

(save-credentials user new-credentials)

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close