(in-open-interval? begin end value)
(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}})
(parse-token-data {:keys [access-token]})
(prepare-token jwt? [token err :as r])
(renew-token? percentage {:keys [issued expires] :as m} now)
(schedule-token-renewal name-of-job
token-key
should-renew?
new-token!
stop-ch
token-store)
(token-in-interval? {:keys [expires]} time-in-seconds)
(token-valid? m)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close