Liking cljdoc? Tell your friends :D
All platforms.

bangmod.http-api.auth

How a token gets onto a request. Pure, so the default is unit-tested; the transport (bangmod.http-api.internal) only calls whichever injector is registered.

How a token gets onto a request. Pure, so the default is unit-tested; the transport
(`bangmod.http-api.internal`) only calls whichever injector is registered.
raw docstring

bearer-injectorclj/s

(bearer-injector request token)

The default injector: Authorization: Bearer <token>, unless the call already set an :authorization header of its own — an explicit header always wins.

The default injector: `Authorization: Bearer <token>`, unless the call already set an
`:authorization` header of its own — an explicit header always wins.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close