(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.
(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.
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close