(->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 datomic)
Inputs: [customer-id :- s/Uuid role :- s/Keyword datomic] Returns: models.customer/Customer
Inputs: [customer-id :- s/Uuid role :- s/Keyword datomic] Returns: models.customer/Customer
(authenticate-customer! {:keys [username password]}
{:keys [jwt-secret]}
database)
Inputs: [{:keys [username password]} :- models.customer/CustomerAuthentication {:keys [jwt-secret]} database] Returns: s/Str
Inputs: [{:keys [username password]} :- models.customer/CustomerAuthentication {:keys [jwt-secret]} database] Returns: s/Str
(create-customer! customer datomic)
Inputs: [customer :- models.customer/Customer datomic] Returns: models.customer/Customer
Inputs: [customer :- models.customer/Customer datomic] Returns: models.customer/Customer
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close