The JWKS authentication and authorization backend.
The JWKS authentication and authorization backend.
(jwks-backend {:keys [authfn unauthorized-handler options token-name on-error]
:as opts
:or {authfn identity options {} token-name "Bearer"}})Create a JWKS authentication backend.
:options must contain :algs or :alg to declare the expected JWT algorithm. For example, pass :options {:algs #{:rs256}}.
Create a JWKS authentication backend.
:options must contain :algs or :alg to declare the expected JWT algorithm.
For example, pass :options {:algs #{:rs256}}.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 |