WebAPI/PushAPI: Difference between revisions

Jump to navigation Jump to search
Line 31: Line 31:
==== Arguments ====
==== Arguments ====
<b><tt>WAToken</tt></b><br>
<b><tt>WAToken</tt></b><br>
the Web App Token identifies uniquely the user (or installation) of the app (or a shared <tt>WAToken</tt>, used for broadcast). It is strongly suggested that this be a minimally 256bit random, base64 value or equivalent in order to reduce potential collisions. WATokens are limited to <i style="color:red">XXX</i> characters.
the Web App Token identifies uniquely the user (or installation) of the app (or a shared <tt>WAToken</tt>, used for broadcast). It is strongly suggested that this be a minimally 256bit random, base64 value or equivalent in order to reduce potential collisions. WATokens are limited to <b>45</b> URL safe characters.


<b><tt>publicKey</tt></b><br>
<b><tt>publicKey</tt></b><br>
used to verify the origin of the notification. This is a cryptographic key generated by the app and should be unique per user.
used to verify the origin of the notification. This is a cryptographic key generated by the AppProvider and should be unique per user.


==== Returns ====
==== Returns ====
Confirmed users
1,018

edits

Navigation menu