Socialid.events.onLogout
From Social ID Developers
(Difference between revisions)
Renato.neves (Talk | contribs) (Created page with "== Description == Triggered when the user logs out. == Adding Handler == socialid.events.onLogout.addHandler(handler) == Event Data == {| ! align="left" width="200px" | e...") |
Ivan.filho (Talk | contribs) (→Description) |
(One intermediate revision by one user not shown) |
Latest revision as of 13:58, 5 November 2020
Contents |
Description
Triggered when the user logs out.
Adding Handler
socialid.events.onLogout.addHandler(handler)
Event Data
event | onLogout |
---|
Example
Adding a handler for the onLogout event:
socialid.events.onLogout.addHandler(function(data) { console.log("Website received onLogout: ", data); });
Example response object:
{ event: "onLogout" }