4
edits
(Update the initialisation section) |
|||
| Line 31: | Line 31: | ||
event.data will be: | event.data will be: | ||
{topic: "connect", data: <credentials>} | {topic: "connect", data: <credentials>} | ||
where | where 'credentials' is an arbitrary object containing the user's credentials for this SPA/Provider. | ||
At this point, the SPA can start connecting to the service provider's servers. | At this point, the SPA can start connecting to the service provider's servers. | ||
If the SPA connected successfully and is ready to receive calls, it will send to Talkilla a ' | If the SPA connected successfully and is ready to receive calls, it will send to Talkilla a 'connected' message: | ||
postMessage({ | postMessage({ | ||
edits