Socialid.events.onDisconnectSuccess

From Social ID Developers
(Difference between revisions)
Jump to: navigation, search
m
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
 
== Description ==
 
== Description ==
  
Executado quando o usuário desconecta alguma de suas credenciais com sucesso.
+
Triggered when an user disconnects one of his credentials successfully.
  
 
== Adding Handler ==
 
== Adding Handler ==
Line 14: Line 14:
 
|+
 
|+
 
! align="left" width="200px" | provider
 
! align="left" width="200px" | provider
| O provider desconectado pelo usuário. Pode ser "facebook", "twitter", "linkedin" ou "gplus".
+
| The provider disconnected by the user. Can be "facebook", "twitter", "linkedin", or "gplus".
 
|}
 
|}
  
 
== Example ==
 
== Example ==
  
Adicionando um handler para o evento onDisconnectSuccess do widget de Social Connect:
+
Adding a handler for the onDisconnectSuccess event of the Social Connect widget:
  
 
   socialid.events.onDisconnectSuccess.addHandler(function(data) {
 
   socialid.events.onDisconnectSuccess.addHandler(function(data) {
Line 25: Line 25:
 
   });
 
   });
  
Exemplo de resposta do objeto data:
+
Exemple response object:
  
 
   {
 
   {

Latest revision as of 20:15, 3 November 2014

Contents

Description

Triggered when an user disconnects one of his credentials successfully.

Adding Handler

socialid.events.onDisconnectSuccess.addHandler(handler)

Event Data

event onDisconnectSuccess
provider The provider disconnected by the user. Can be "facebook", "twitter", "linkedin", or "gplus".

Example

Adding a handler for the onDisconnectSuccess event of the Social Connect widget:

 socialid.events.onDisconnectSuccess.addHandler(function(data) {
   console.log("Website received onDisconnectSuccess: ", data);
 });

Exemple response object:

 {
   event: "onDisconnectSuccess",
   provider: "facebook"
 }
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox