Liking cljdoc? Tell your friends :D

funcade.tokens


in-open-interval?clj

(in-open-interval? begin end value)
source

new-token!clj

(new-token! {:keys [access-token-url grant-type client-id client-secret username
                    password scope token-headers jwt?]
             :or {grant-type "client_credentials"
                  token-headers {:Content-Type
                                   "application/x-www-form-urlencoded"}
                  jwt? true}})
source

parse-token-dataclj

(parse-token-data {:keys [access-token]})
source

prepare-tokenclj

(prepare-token jwt? [token err :as r])
source

renew-token?clj

(renew-token? percentage {:keys [issued-at expires-at] :as m} now)
source

schedule-token-renewalclj

(schedule-token-renewal name-of-job
                        token-key
                        should-renew?
                        new-token!
                        stop-ch
                        token-store)
source

token-in-interval?clj

(token-in-interval? {:keys [expires-at]} time-in-seconds)
source

token-valid?clj

(token-valid? m)
source

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

× close