Liking cljdoc? Tell your friends :D

org.bdinetwork.ishare.client


access-token-requestclj

(access-token-request request)
(access-token-request {:ishare/keys [client-id base-url server-id] :as request}
                      path)

Create a request for an access token.

Takes a base request that should include client info. Builds a client assertion for client-id to authenticate to server-id.

The request :ishare/operation is :access-token.

Create a request for an access token.

Takes a base `request` that should include client info. Builds a
client assertion for `client-id` to authenticate to `server-id`.

The request `:ishare/operation` is `:access-token`.
raw docstring

bearer-token-interceptorclj


build-uri-interceptorclj


capabilities-requestclj

(capabilities-request request)

Create a request for the capabilities of the server.

Takes a base request.

Create a request for the capabilities of the server.

Takes a base `request`.
raw docstring

default-http-clientclj


delegation-evidence-requestclj

(delegation-evidence-request request
                             {{:keys [policyIssuer]} :delegationRequest
                              :as delegation-mask})

Create a delegation evidence request.

Sets :ishare/policy-issuer key from the given delegation-mask, for use by ishare-issuer-ar-interceptor -- which can locate the correct Authorization Register for that issuer and :ishare/dataspace-id.

Create a delegation evidence request.

Sets `:ishare/policy-issuer` key from the given `delegation-mask`,
for use by `ishare-issuer-ar-interceptor` -- which can locate the
correct Authorization Register for that issuer and
`:ishare/dataspace-id`.
raw docstring

execclj

(exec request)

fetch-bearer-token-interceptorclj


fetch-issuer-ar-interceptorclj


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.
raw 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.
raw 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.
raw docstring

http-clientclj


http-client-optsclj


instant-formatterclj


interceptorsclj


ishare->http-requestcljmultimethod

This method will be removed in a future version of the library.

Use named *-request functions instead. See also party-request, access-token-request.

This method will be removed in a future version of the library.

Use named *-request functions instead.  See also `party-request`,
`access-token-request`.
raw docstring

ishare-interpreter-interceptorclj


ishare-server-adherence-interceptorclj


json-interceptorclj


json-response?clj

(json-response? response)

lens-interceptorclj


log-interceptorclj


log-interceptor-atomclj


logging-interceptorclj


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*`
raw docstring

parse-instantclj

(parse-instant s)

parties-requestclj

(parties-request request params)

Create a satellite-request for parties info.

Takes a base request and passes params as query params.

Create a `satellite-request` for parties info.

Takes a base `request` and passes `params` as query params.
raw docstring

party-adherence-issueclj

(party-adherence-issue {{:keys [status start_date end_date]} :adherence
                        :keys [party_id]
                        :as party-info})

If party info is not currently adherent, returns an issue map of :issue message and :info data.

If party info is not currently adherent, returns an issue map
of :issue message and :info data.
raw docstring

party-requestclj

(party-request request party-id)

Create a satellite-request for party info for a single party.

Takes a base request and party-id of the party info to be returned.

Create a `satellite-request` for party info for a single party.

Takes a base `request` and `party-id` of the party info to be
returned.
raw docstring

private-keyclj

(private-key key-file)

Read private key from file.

Read private key from file.
raw docstring

redact-bodyclj

(redact-body body)

Remove sensitive params from request body (for logging)

Remove sensitive params from request body (for logging)
raw docstring

redact-pathclj

(redact-path r p)

redact-requestclj

(redact-request request)

resolve-uriclj

(resolve-uri base-url path)

satellite-requestclj

(satellite-request {:ishare/keys [satellite-base-url satellite-id] :as request})

throw-on-exceptional-status-codeclj

Response: throw on exceptional status codes. Strips out client info and private information

Response: throw on exceptional status codes. Strips out client info and private information
raw docstring

timeout-msclj


trusted-list-requestclj

(trusted-list-request request)

Create a satellite-request for the trusted list of CAs.

Takes a base request

Create a `satellite-request` for the trusted list of CAs.

Takes a base `request`
raw docstring

unexceptional-statusesclj


unsign-token-interceptorclj


x5cclj

(x5c cert-file)

Read chain file into vector of certificates.

Read chain file into vector of certificates.
raw docstring

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

× close