Liking cljdoc? Tell your friends :D

oauth.v1


*oauth-signature-method*clj

source

*oauth-version*clj

source

make-consumerclj

(make-consumer & {:as oauth-defaults})

Returns an OAuth consumer HTTP client.

Returns an OAuth consumer HTTP client.
sourceraw docstring

oauth-access-tokenclj

(oauth-access-token url
                    oauth-consumer-key
                    oauth-token
                    oauth-verifier
                    &
                    [request])

Obtain the OAuth access token.

Obtain the OAuth access token.
sourceraw docstring

oauth-authorization-headerclj

(oauth-authorization-header request)

Returns the OAuth header of request.

Returns the OAuth header of `request`.
sourceraw docstring

oauth-authorizeclj

(oauth-authorize url oauth-token)

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

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

oauth-authorize-urlclj

(oauth-authorize-url url oauth-token)

Returns the authorization url

Returns the authorization url
sourceraw docstring

oauth-callback-confirmed?clj

(oauth-callback-confirmed? request-token)

Returns true if the :oauth-callback-confirmed key in request-token is true, otherwise false.

Returns true if the :oauth-callback-confirmed key in
`request-token` is true, otherwise false.
sourceraw docstring

oauth-clientclj

(oauth-client oauth-consumer-key
              oauth-consumer-secret
              oauth-token
              oauth-token-secret)

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

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

oauth-nonceclj

(oauth-nonce)

Returns a random OAuth nonce. The OAuth nonce is a unique token an application should generate for each unique request.

Returns a random OAuth nonce. The OAuth nonce is a unique token an
application should generate for each unique request.
sourceraw docstring

oauth-parameter-stringclj

(oauth-parameter-string request)

Returns the OAuth parameter string from request.

Returns the OAuth parameter string from `request`.
sourceraw docstring

oauth-request-signatureclj

(oauth-request-signature request & [consumer-secret token-secret])

Calculates the OAuth signature from request.

Calculates the OAuth signature from `request`.
sourceraw docstring

oauth-request-tokenclj

(oauth-request-token url oauth-consumer-key oauth-consumer-secret & [request])

Obtain the OAuth request token to request user authorization.

Obtain the OAuth request token to request user authorization.
sourceraw docstring

oauth-sign-requestclj

(oauth-sign-request request consumer-secret & [token-secret])

Sign the OAuth request with consumer-key and token-secret.

Sign the OAuth request with `consumer-key` and `token-secret`.
sourceraw docstring

oauth-signature-baseclj

(oauth-signature-base request)

Returns the OAuth signature base string from request.

Returns the OAuth signature base string from `request`.
sourceraw docstring

oauth-signature-parametersclj

(oauth-signature-parameters request)

Returns the OAuth signature parameters from request.

Returns the OAuth signature parameters from `request`.
sourceraw docstring

oauth-signing-keyclj

(oauth-signing-key key secret)

Returns the OAuth signing key.

Returns the OAuth signing key.
sourceraw docstring

oauth-timestampclj

(oauth-timestamp)

Returns the current OAuth timestamp. The current time in seconds since the Unix epoch.

Returns the current OAuth timestamp. The current time in seconds
since the Unix epoch.
sourceraw docstring

wrap-oauth-authorizationclj

(wrap-oauth-authorization client)

Returns a HTTP client that adds the OAuth authorization header to request.

Returns a HTTP client that adds the OAuth authorization header to request.
sourceraw docstring

wrap-oauth-defaultsclj

(wrap-oauth-defaults client & [params])

Returns a HTTP client with OAuth

Returns a HTTP client with OAuth
sourceraw docstring

wrap-oauth-signatureclj

(wrap-oauth-signature client & [consumer-secret token-secret])

Returns a HTTP client that signs an OAuth request.

Returns a HTTP client that signs an OAuth request.
sourceraw docstring

wrap-remove-oauth-tokenclj

(wrap-remove-oauth-token client)

Remove the :oauth-token token from request to make sure the clj-http OAuth2 machinery doesn't kick it.

Remove the :oauth-token token from `request` to make sure the
clj-http OAuth2 machinery doesn't kick it.
sourceraw docstring

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

× close