Liking cljdoc? Tell your friends :D

fluree.db.token-auth


generate-jwtclj/s

(generate-jwt secret payload)

Generates a HS256 JWT token containing data as a map and secured with secret.

Generates a HS256 JWT token containing data as a map and secured with secret.
raw docstring

verify-jwtclj/s

(verify-jwt secret jwt)

Returns the JWT payload as map if valid, else an exception.

Returns the JWT payload as map if valid, else an exception.
raw docstring

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

× close