Liking cljdoc? Tell your friends :D

monkey.oci.sign


->lower-case-keysclj

(->lower-case-keys m)

Converts the keys to lowercase in the map

Converts the keys to lowercase in the map
sourceraw docstring

charsetclj

source

format-timeclj

(format-time t)
source

key-idclj

(key-id conf)
source

merge-headersclj

(merge-headers req-headers sign-headers)

Merges original request headers with the signature headers. This makes sure there are no duplicates due to casing differences. When there are collisions, the signature header is retained. This assumes the sign-headers map is generated by the sign function, which yields lowercase header names.

Merges original request headers with the signature headers.  This makes sure there
are no duplicates due to casing differences.  When there are collisions, the signature
header is retained.  This assumes the `sign-headers` map is generated by the `sign` 
function, which yields lowercase header names.
sourceraw docstring

private-key?clj

source

signclj

(sign conf headers)

Signs a request by calculating a signature based on the given config. Returns the headers you should include in your request.

Signs a request by calculating a signature based on the given config.
Returns the headers you should include in your request.
sourceraw docstring

sign-headersclj

(sign-headers {:keys [url method headers] :as req} & [exclude-body?])

Builds signing headers from the request. If exclude-body? is true, then the request body will not be included in the signature, even if the request contains one.

Builds signing headers from the request.  If `exclude-body?` is true,
then the request body will not be included in the signature, even if
the request contains one.
sourceraw docstring

time-formatclj

source

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

× close