Liking cljdoc? Tell your friends :D

friend-oauth2.util


extract-access-tokenclj

(extract-access-token {body :body})

Returns the access token from a JSON response body

Returns the access token from a JSON response body
sourceraw docstring

extract-anti-forgery-tokenclj

(extract-anti-forgery-token {session :session})

Extracts the anti-csrf state key from the response

Extracts the anti-csrf state key from the response
sourceraw docstring

format-authn-uriclj

(format-authn-uri {{:keys [query url]} :authentication-uri} anti-forgery-token)

Formats the client authentication uri

Formats the client authentication uri
sourceraw docstring

format-config-uriclj

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

generate-anti-forgery-tokenclj

(generate-anti-forgery-token)

Generates random string for anti-forgery-token.

Generates random string for anti-forgery-token.
sourceraw docstring

get-access-token-from-paramsclj

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

replace-authz-codeclj

(replace-authz-code {:keys [query]} code)

Formats the token uri with the authorization code

Formats the token uri with the authorization code
sourceraw docstring

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

× close