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!
(auth!)
(auth! user)
(fetch-credentials user)
(init!)
(init! scopes)
(init! config scopes)
(init! config scopes fetch-credentials save-credentials)
(save-credentials user new-credentials)
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |