Liking cljdoc? Tell your friends :D

fluree.db.query.http-signatures


generate-signing-stringclj/s

(generate-signing-string val-map ks)

keys must include: method - post, get, etc. - used for (request-target) which is required path - path of the request

keys must include:
method - post, get, etc. - used for (request-target) which is required
path - path of the request
raw docstring

sign-requestclj/s

(sign-request req-method url request private-key)
(sign-request req-method url request private-key auth)

Signs http request by creating required headers and using supplied private key. req-type should be :get, :post, etc.

Signs http request by creating required headers and using supplied private key.
req-type should be :get, :post, etc.
raw docstring

verify-digestclj/s

(verify-digest req)

If a message digest is present, verifies it.

If a message digest is present, verifies it.
raw docstring

verify-requestclj/s

(verify-request request)

Returns map of auth and authority from request.

Returns map of auth and authority from request.
raw docstring

verify-request*clj/s

(verify-request* req method uri host)
(verify-request* req method action db-name host)

Returns auth record from separated request parts.

Returns auth record from separated request parts.
raw docstring

verify-signature-headerclj/s

(verify-signature-header req)

Verifies signed http request. If signature header does not exist, returns nil. If it exists and is valid, returns the authid associated with it. If it exists and is invalid, throws exception.

Verifies signed http request. If signature header does not exist,
returns nil. If it exists and is valid, returns the authid associated
with it. If it exists and is invalid, throws exception.
raw docstring

verify-signature-header*clj/s

(verify-signature-header* req sig-header-str)

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

× close