Liking cljdoc? Tell your friends :D

loudmoauth.authflow


add-to-providersclj

(add-to-providers provider-data)
source

add-tokens-to-provider-dataclj

(add-tokens-to-provider-data provider-data parsed-body)

Takes state-map a state and parsed response from http request. Adds access-token and refresh-token to state map.

Takes state-map a state and parsed response from http request. Adds access-token and refresh-token to state map.
sourceraw docstring

create-form-paramsclj

(create-form-params provider-data)

Create query-params map to include in http body.

Create query-params map to include in http body.
sourceraw docstring

create-query-dataclj

(create-query-data provider-data)

Creates quert data for use in http post call when retreiving tokens.

Creates quert data for use in http post call when retreiving tokens.
sourceraw docstring

get-tokensclj

(get-tokens provider-data)

Fetch tokens using crafted url

Fetch tokens using crafted url
sourceraw docstring

http-post-for-tokensclj

(http-post-for-tokens provider-data)
source

init-and-add-providerclj

(init-and-add-provider provider-data)
source

launch-token-refresherclj

(launch-token-refresher provider-data)

Start a timed event to try to refresh oauth-tokens sometime in the future.

Start a timed event to try to refresh oauth-tokens sometime in the future.
sourceraw docstring

match-code-to-providerclj

(match-code-to-provider params)
source

parse-tokens!clj

(parse-tokens! provider-data)

Parse access token and refresh-token from http response.

Parse access token and refresh-token from http response.
sourceraw docstring

providersclj

source

token-refresherclj

(token-refresher s provider-data)

Starts a call to get-tokens in s seconds, continues forever until cancelled.

Starts a call to get-tokens in s seconds, continues forever until cancelled.
sourceraw docstring

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

× close