(decode s)
Attempts to decode s
. Swallows all exceptions, returns nil
on failure.
Attempts to decode `s`. Swallows all exceptions, returns `nil` on failure.
(not-expired? jwt timestamp)
(signed? jwt)
(verify token)
(verify token timestamp)
token
if valid, nil
otherwise.
`token` if valid, `nil` otherwise.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close