(api-key-auth {key-id :id :keys [api-key]})
Inputs: [{key-id :id, :keys [api-key]} :- ApiKey]
Generates Elasticsearch API keys authorization headers.
The key is the base64 encoding of id
and api_key
joined by a colon.
https://www.elastic.co/guide/en/kibana/7.10/api-keys.html
Inputs: [{key-id :id, :keys [api-key]} :- ApiKey] Generates Elasticsearch API keys authorization headers. The key is the base64 encoding of `id` and `api_key` joined by a colon. https://www.elastic.co/guide/en/kibana/7.10/api-keys.html
(basic-auth {:keys [user pwd]})
Inputs: [{:keys [user pwd]} :- BasicAuth]
Generates basic auth clj-http params.
Inputs: [{:keys [user pwd]} :- BasicAuth] Generates basic auth clj-http params.
(bearer {:keys [token]})
Inputs: [{:keys [token]} :- OAuthToken]
Generates oauth clj-http params for a bearer token.
Inputs: [{:keys [token]} :- OAuthToken] Generates oauth clj-http params for a bearer token.
(http-options {auth-type :type :keys [params]})
Inputs: [{auth-type :type, :keys [params]} :- AuthParams]
takes an AuthParams map and returns the proper clj-http request options
Inputs: [{auth-type :type, :keys [params]} :- AuthParams] takes an AuthParams map and returns the proper clj-http request options
(oauth-token {:keys [token]})
Inputs: [{:keys [token]} :- OAuthToken]
Generate oauth clj-http params.
Inputs: [{:keys [token]} :- OAuthToken] Generate oauth clj-http params.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close