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.
(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.
(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.
(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.
(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.
(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.
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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |