(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 builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |