Liking cljdoc? Tell your friends :D

twitter.oauth


make-oauth-credsclj

(make-oauth-creds app-key app-secret)
(make-oauth-creds app-key app-secret user-token user-token-secret)

Creates an oauth object out of supplied params. If only an app-key and app-secret are supplied, this function will return an application-only authentication token. If a user-key and user-token-secret are also supplied, then it will return a fully authenticated token.

Creates an oauth object out of supplied params. If only an app-key
and app-secret are supplied, this function will return an
application-only authentication token. If a user-key and
user-token-secret are also supplied, then it will return a fully
authenticated token.
sourceraw docstring

oauth-header-stringclj

(oauth-header-string signing-map & {:keys [url-encode?] :or {url-encode? true}})

Creates the string for the oauth header's 'Authorization' value, url encoding each value. If the signing-map is an application-only token, returns the 'Bearer' value.

Creates the string for the oauth header's 'Authorization' value,
url encoding each value. If the signing-map is an application-only
token, returns the 'Bearer' value.
sourceraw docstring

request-app-only-tokenclj

(request-app-only-token consumer-key consumer-secret)
source

sign-queryclj

(sign-query oauth-creds verb uri & {:keys [query]})

takes oauth credentials and returns a map of the signing parameters

takes oauth credentials and returns a map of the signing parameters
sourceraw docstring

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

× close