Liking cljdoc? Tell your friends :D

org.bdinetwork.ishare.client.interceptors

Provides iSHARE client interceptors for processing request and responses.

This namespace does not provide not a stable API. Incompatible changes to interceptors (including removal and renaming) should be expected.

Provides iSHARE client interceptors for processing request and responses.

This namespace does not provide not a stable API. Incompatible
changes to interceptors (including removal and renaming) should be
expected.
raw docstring

bearer-token-interceptorclj

source

build-uri-interceptorclj

source

fetch-bearer-token-interceptorclj

source

fetch-issuer-ar-interceptorclj

source

fetch-party-infoclj

(fetch-party-info {:ishare/keys [fetch-party-info-fn]
                   :as request
                   :or {fetch-party-info-fn fetch-party-info-default}}
                  party-id)

Request party info from satellite with optional cache.

Takes :ishare/fetch-party-info-fn from request to execute request. The default value for this function is fetch-party-info-default, which caches its result for one hour.

Request party info from satellite with optional cache.

Takes `:ishare/fetch-party-info-fn` from `request` to execute request. The
default value for this function is `fetch-party-info-default`, which
caches its result for one hour.
sourceraw docstring

fetch-party-info*clj

(fetch-party-info* client-info party-id)

Fetch party info from satellite.

Usually you'll want to use fetch-party-info instead.

Fetch party info from satellite.

Usually you'll want to use `fetch-party-info` instead.
sourceraw docstring

fetch-party-info-defaultclj

(fetch-party-info-default request party-id)

Cached version of fetch-party-info* with a one hour cache of results.

Cached version of `fetch-party-info*` with a one hour cache of results.
sourceraw docstring

ishare-server-adherence-interceptorclj

source

json-interceptorclj

source

lens-interceptorclj

source

log-interceptorclj

source

log-interceptor-atomclj

source

logging-interceptorclj

source

mk-cached-fetch-party-infoclj

(mk-cached-fetch-party-info ttl-ms)

Create a cached version of fetch-party-info*.

Create a cached version of `fetch-party-info*`.
sourceraw docstring

redact-bodyclj

(redact-body body)

Remove sensitive params from request body (for logging).

Remove sensitive params from request body (for logging).
sourceraw docstring

redact-pathclj

(redact-path r p)
source

redact-requestclj

(redact-request request)
source

resolve-uriclj

(resolve-uri base-url path)
source

throw-on-exceptional-status-codeclj

Throw on exceptional status codes.

Throws with response data. Strips client info and private information from the thrown response.

Throw on exceptional status codes.

Throws with response data. Strips client info and private information from the thrown response.
sourceraw docstring

unexceptional-statusesclj

source

unsign-token-interceptorclj

source

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

× close