(oauth-access-token url
client-id
client-secret
code
redirect-uri
&
[grant-type])
Obtain the OAuth access token.
Obtain the OAuth access token.
(oauth-authorization-url url client-id redirect-uri & {:as options})
Returns the OAuth authorization url.
Returns the OAuth authorization url.
(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`.
(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.
(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..
(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`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close