(->token map jwt-secret)
Inputs: [map :- #:s{Keyword s/Any} jwt-secret :- s/Str] Returns: s/Str
Inputs: [map :- #:s{Keyword s/Any} jwt-secret :- s/Str] Returns: s/Str
(add-role! customer-id role postgresql)
Inputs: [customer-id :- s/Uuid role :- s/Keyword postgresql]
Inputs: [customer-id :- s/Uuid role :- s/Keyword postgresql]
(authenticate-customer! {:keys [username password]}
{:keys [jwt-secret]}
postgresql)
Inputs: [{:keys [username password]} :- models.customer/CustomerAuthentication {:keys [jwt-secret]} postgresql] Returns: s/Str
Inputs: [{:keys [username password]} :- models.customer/CustomerAuthentication {:keys [jwt-secret]} postgresql] Returns: s/Str
(create-customer! customer postgresql)
Inputs: [customer :- models.customer/Customer postgresql] Returns: models.customer/Customer
Inputs: [customer :- models.customer/Customer postgresql] Returns: models.customer/Customer
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 |