Liking cljdoc? Tell your friends :D

monkey.ci.web.auth

Authentication and authorization functions

Authentication and authorization functions
raw docstring

augment-payloadclj

(augment-payload payload)

config->keypairclj

(config->keypair conf)

Loads private and public keys from the app config, returns a map that can be used in the context :jwk.

Loads private and public keys from the app config, returns a map that can be
used in the context `:jwk`.
raw docstring

customer-authorizationclj

(customer-authorization h)

Middleware that verifies the identity token to check if the user has access to the given customer.

Middleware that verifies the identity token to check if the user has
access to the given customer.
raw docstring

generate-jwtclj

(generate-jwt req payload)

Signs a JWT using the keypair from the request context.

Signs a JWT using the keypair from the request context.
raw docstring

generate-keypairclj

(generate-keypair)

Generates a new RSA keypair

Generates a new RSA keypair
raw docstring

generate-secret-keyclj

(generate-secret-key)

Generates a random secret key object

Generates a random secret key object
raw docstring

jwksclj

(jwks req)

JWKS endpoint handler

JWKS endpoint handler
raw docstring

keypair->rtclj

(keypair->rt kp)

kidclj


make-jwkclj

(make-jwk pub)

Creates a JWK object from a public key that can be exposed for external verification.

Creates a JWK object from a public key that can be exposed for external 
verification.
raw docstring

rt->pub-keyclj


secure-ring-appclj

(secure-ring-app app rt)

Wraps the ring handler so it verifies the JWT authorization header

Wraps the ring handler so it verifies the JWT authorization header
raw docstring

sign-jwtclj

(sign-jwt payload pk)

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close