Socialid.events.onLogout

From Social ID Developers
Revision as of 13:58, 5 November 2020 by Ivan.filho (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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"
 }
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox