(claims compact)Returns unverified compact JWT claims.
Registered claims are keyword keys. Custom claims keep their string keys. :exp, :nbf, and :iat return java.time.Instant values. :aud returns a vector.
Returns unverified compact JWT claims. Registered claims are keyword keys. Custom claims keep their string keys. :exp, :nbf, and :iat return java.time.Instant values. :aud returns a vector.
(decrypt key compact)(decrypt key compact opts)Decrypts a compact encrypted JWT and returns validated claims.
Decrypts a compact encrypted JWT and returns validated claims.
(decrypt-then-verify decrypt-key verify-key compact)(decrypt-then-verify decrypt-key verify-key compact opts)Decrypts a nested JWE, then verifies the inner signed JWT.
Decrypts a nested JWE, then verifies the inner signed JWT.
(encrypt key claims)(encrypt key claims opts)Encrypts a JWT claims map and returns a compact JWE string.
Encrypts a JWT claims map and returns a compact JWE string.
(sign key claims)(sign key claims opts)Signs a JWT claims map and returns a compact JWS string.
Signs a JWT claims map and returns a compact JWS string.
(sign-then-encrypt sign-key encrypt-key claims opts)Signs claims as a compact JWT, then encrypts the signed JWT as a nested JWE.
Signs claims as a compact JWT, then encrypts the signed JWT as a nested JWE.
(verify key compact)(verify key compact opts)Verifies a compact signed JWT and returns claims.
Registered claims are keyword keys. Custom claims keep their string keys. :exp, :nbf, and :iat return java.time.Instant values. :aud returns a vector.
Verifies a compact signed JWT and returns claims. Registered claims are keyword keys. Custom claims keep their string keys. :exp, :nbf, and :iat return java.time.Instant values. :aud returns a vector.
(verify-with-jwks source compact)(verify-with-jwks source compact opts)Selects a verification key from a JWKS source, then verifies a compact JWT.
Selects a verification key from a JWKS source, then verifies a compact JWT.
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 |