Liking cljdoc? Tell your friends :D

oauth.util


byte-array?clj

(byte-array? arg)

Returns true if arg is a byte array, otherwise false.

Returns true if `arg` is a byte array, otherwise false.
sourceraw docstring

compact-mapclj

(compact-map map & [pred])

Returns a map with all entries removed, where the entrie's value matches pred.

Returns a `map` with all entries removed, where the entrie's value
matches `pred`.
sourceraw docstring

content-typeclj

(content-type response)

Returns the content type of response.

Returns the content type of `response`.
sourceraw docstring

format-authorizationclj

(format-authorization options)
source

format-base-urlclj

(format-base-url request)
source

format-http-methodclj

(format-http-method request)
source

format-optionclj

(format-option [k v])
source

format-optionsclj

(format-options options)
source

format-paramsclj

(format-params params)

Returns OAuth formatted OAuth params.

Returns OAuth formatted OAuth params.
sourceraw docstring

format-query-paramsclj

(format-query-params params)
source

hmacclj

(hmac algorithm msg key)
(hmac algorithm msg key encoding)
source

oauth-keysclj

(oauth-keys map)

Returns the OAuth keys in map.

Returns the OAuth keys in `map`.
sourceraw docstring

oauth-paramsclj

(oauth-params map)

Returns a map containing only the OAuth entries.

Returns a map containing only the OAuth entries.
sourceraw docstring

parse-bodyclj

(parse-body body)

Parse body and return a map with hypenized keys and their values.

Parse `body` and return a map with hypenized keys and their values.
sourceraw docstring

parse-body-paramsclj

(parse-body-params request)

Parse the body of request as an URL encoded parameter list.

Parse the body of `request` as an URL encoded parameter list.
sourceraw docstring

percent-encodeclj

(percent-encode unencoded)

Percent encode unencoded according to RFC 3986, Section 2.1.

Percent encode `unencoded` according to RFC 3986, Section 2.1.
sourceraw docstring

random-base64clj

(random-base64 size)

Returns a Base64 encoded string from a random byte array of the specified size.

Returns a Base64 encoded string from a random byte array of the
specified size.
sourceraw docstring

random-bytesclj

(random-bytes size)

Returns a random byte array of the specified size.

Returns a random byte array of the specified size.
sourceraw docstring

root-urlclj

(root-url {:keys [scheme server-name server-port]})
source

wrap-content-typeclj

(wrap-content-type client content-type)

Returns a HTTP client that sets the Content-Type header to request.

Returns a HTTP client that sets the Content-Type header to `request`.
sourceraw docstring

x-www-form-urlencodedclj

source

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

× close