Confirmed users
1,018
edits
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 | 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. | ||
<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 app and should be unique per user. | ||
==== Returns ==== | ==== Returns ==== |