Liking cljdoc? Tell your friends :D

wagoe.push.shell.handlers


analytics-callback-handlerclj

(analytics-callback-handler {:keys [analytics-store callback-secret
                                    refuse-legacy-callback-tokens?]}
                            request)
source

api-routesclj

(api-routes deps)

Every route but the callback requires a signed-in user, which the platform enforces. The callback is public: a device posts it, and the HMAC in its body is the credential (BOU-568). The device routes act on the caller's own devices; the stats ask :push/read. Contributed as :api, so served under /api/v1; flat, so each path gets its unversioned redirect.

Every route but the callback requires a signed-in user, which the platform
enforces. The callback is public: a device posts it, and the HMAC in its body
is the credential (BOU-568). The device routes act on the caller's own
devices; the stats ask `:push/read`. Contributed as `:api`, so served under
`/api/v1`; flat, so each path gets its unversioned redirect.
sourceraw docstring

get-device-handlerclj

(get-device-handler {:keys [device-store]} request)
source

list-devices-handlerclj

(list-devices-handler {:keys [device-store]} request)
source

push-routesclj

(push-routes deps)

Deprecated: the module mounts api-routes itself. The same routes as one /api/push vector, for apps that mounted it by hand.

Deprecated: the module mounts `api-routes` itself. The same routes as one
`/api/push` vector, for apps that mounted it by hand.
sourceraw docstring

push-stats-handlerclj

(push-stats-handler {:keys [analytics-store]} request)
source

register-device-handlerclj

(register-device-handler {:keys [device-store]} request)
source

unregister-device-handlerclj

(unregister-device-handler {:keys [device-store]} request)
source

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