Liking cljdoc? Tell your friends :D

ductile.auth


api-key-authclj

(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
sourceraw docstring

basic-authclj

(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.
sourceraw docstring

bearerclj

(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.
sourceraw docstring

http-optionsclj

(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
sourceraw docstring

oauth-tokenclj

(oauth-token {:keys [token]})

Inputs: [{:keys [token]} :- OAuthToken]

Generate oauth clj-http params.

Inputs: [{:keys [token]} :- OAuthToken]

Generate oauth clj-http params.
sourceraw docstring

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

× close