(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close