Liking cljdoc? Tell your friends :D

funcade.middleware.buddy


authenticateclj

(authenticate handler scope)
source

jwks-authenticatorclj

(jwks-authenticator {:keys [uri] :as options})

JSON Web Key Set specific: i.e. needs a 'https://foo.com/bar/jwks' URI that returns unsign keys

JSON Web Key Set specific:
i.e. needs a 'https://foo.com/bar/jwks' URI that returns unsign keys
sourceraw docstring

jwks-backendclj

(jwks-backend {jwt-header-options :options
               jwt-keyset-uri :uri
               :keys [authfn unauthorized-handler token-name on-error
                      refresh-keyset-on-error?]
               :or {authfn identity
                    token-name "Bearer"
                    on-error (fn* [& rest__18149#]
                                  (println "[funcade] error: " rest__18149#))
                    refresh-keyset-on-error? true}})
source

validate-scopeclj

(validate-scope handler request required-scopes)
source

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

× close