(auth-header token)
(auth-header token prefix)
(decode-jwt token)
(decode64 xs)
(timebox {:keys [issued issued-at iat expires expires-at exp] :as t})
some systems return issued, some issued-at, some iat, etc. some do not return expires/expires-at/exp some return ts is seconds, others in ms
timebox picks values if provided, compliments with values that are not provided and assocs issued-at and expires-at in seconds
some systems return issued, some issued-at, some iat, etc. some do not return expires/expires-at/exp some return ts is seconds, others in ms timebox picks values if provided, compliments with values that are not provided and assocs issued-at and expires-at in seconds
(to-seconds vs)
(ts->seconds ts)
(value v)
(value? v)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close