Liking cljdoc? Tell your friends :D

oauth.v2


oauth-access-tokenclj

(oauth-access-token url
                    client-id
                    client-secret
                    code
                    redirect-uri
                    &
                    [grant-type])

Obtain the OAuth access token.

Obtain the OAuth access token.
sourceraw docstring

oauth-authorization-urlclj

(oauth-authorization-url url client-id redirect-uri & {:as options})

Returns the OAuth authorization url.

Returns the OAuth authorization url.
sourceraw docstring

oauth-authorizeclj

(oauth-authorize url client-id redirect-uri & options)

Send the user to the authorization url via browse-url.

Send the user to the authorization url via `browse-url`.
sourceraw docstring

oauth-clientclj

(oauth-client access-token)

Returns a HTTP client for version 2 of the OAuth protocol.

Returns a HTTP client for version 2 of the OAuth protocol.
sourceraw docstring

wrap-client-idclj

(wrap-client-id client client-id)

Returns a HTTP client that adds the :client-id to the form or query params, depending on the request method..

Returns a HTTP client that adds the :client-id to the form or query
params, depending on the request method..
sourceraw docstring

wrap-oauth-access-tokenclj

(wrap-oauth-access-token client & [access-token])

Returns a HTTP client that adds the OAuth access-token to request.

Returns a HTTP client that adds the OAuth `access-token` to `request`.
sourceraw docstring

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

× close