Liking cljdoc? Tell your friends :D

wagoe.push.core.callback

What a push's callback token signs and how it is written (BOU-849). The HMAC itself is the shell's.

What a push's callback token signs and how it is written (BOU-849). The
HMAC itself is the shell's.
raw docstring

callback-dataclj

(callback-data notification-id callback-id callback-token)

The keys a push carries for its callback, as the device posts them back.

The keys a push carries for its callback, as the device posts them back.
sourceraw docstring

parse-tokenclj

(parse-token token)

{:expires-at n :mac hex} for a token token wrote, nil for anything else.

`{:expires-at n :mac hex}` for a token `token` wrote, nil for anything else.
sourceraw docstring

shadowed-keysclj

(shadowed-keys data)

The app's data keys a push's callback keys replace, keyword or string.

The app's data keys a push's callback keys replace, keyword or string.
sourceraw docstring

signed-messageclj

(signed-message {:keys [callback-id notification-id device-token platform
                        expires-at]})

The fields a token binds, each prefixed by its length so no field can borrow characters from its neighbour.

The fields a token binds, each prefixed by its length so no field can
borrow characters from its neighbour.
sourceraw docstring

tokenclj

(token expires-at mac)

A token as a device echoes it: version, expiry in epoch seconds, MAC.

A token as a device echoes it: version, expiry in epoch seconds, MAC.
sourceraw docstring

token-ttl-secondsclj

How long a callback token verifies: a device reports an open days later.

How long a callback token verifies: a device reports an open days later.
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