(extract-access-token {body :body})
Returns the access token from a JSON response body
Returns the access token from a JSON response body
(extract-anti-forgery-token {session :session})
Extracts the anti-csrf state key from the response
Extracts the anti-csrf state key from the response
(format-authn-uri {{:keys [query url]} :authentication-uri} anti-forgery-token)
Formats the client authentication uri
Formats the client authentication uri
(format-config-uri {{:keys [domain path]} :callback})
Formats URI from domain and path pairs in a map
Formats URI from domain and path pairs in a map
(generate-anti-forgery-token)
Generates random string for anti-forgery-token.
Generates random string for anti-forgery-token.
(get-access-token-from-params {body :body})
Alternate function to allow retrieve access_token when passed in as form params.
Alternate function to allow retrieve access_token when passed in as form params.
(replace-authz-code {:keys [query]} code)
Formats the token uri with the authorization code
Formats the token uri with the authorization code
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close