Liking cljdoc? Tell your friends :D

clojure-commons.jwt


build-default-assertionclj

(build-default-assertion validity-window-end
                         {:keys [user email given-name family-name
                                 common-name]})
source

generatorclj

(generator opts)
(generator assertion-builder
           {:keys [validity-window-end private-key-path private-key-password
                   alg]})
source

jwk-validateclj

(jwk-validate jwks assertion)

Validates a JWT assertion against a set of JWKs (JSON web keys). JSON web keys are intended to be retrieved from an identity provider endpoint, so they may change without our knowledge. For this reason, we're not going to attempt to memoize the parsed keys like we do for keys stored on the filesystem.

Validates a JWT assertion against a set of JWKs (JSON web keys). JSON web keys are intended to be retrieved
from an identity provider endpoint, so they may change without our knowledge. For this reason, we're not
going to attempt to memoize the parsed keys like we do for keys stored on the filesystem.
sourceraw docstring

user-from-default-assertionclj

(user-from-default-assertion jwt)
source

validatorclj

(validator {:keys [public-key-path accepted-keys-dir alg]})
source

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

× close