Socialid.events.onConnectCancel

(Difference between revisions)
Jump to: navigation, search
m
Line 14: Line 14:
 
|+
 
|+
 
! align="left" width="200px" | provider
 
! align="left" width="200px" | provider
| O provider utilizado pelo usuário na conexão. Pode ser "facebook", "twitter", "linkedin" ou "gplus".
+
| Provider used in the connection. Can be "facebook", "twitter", "linkedin", or "gplus".
 
|}
 
|}
  
 
== Example ==
 
== Example ==
  
Adicionando um handler para o evento onConnectCancel do widget de Social Connect:
+
Adding a handler for the onConnectCancel event of the Social Connect widget:
  
 
   socialid.events.onConnectCancel.addHandler(function(data) {
 
   socialid.events.onConnectCancel.addHandler(function(data) {
Line 25: Line 25:
 
   });
 
   });
  
Exemplo de resposta do objeto data:
+
Example data object:
  
 
   {
 
   {

Revision as of 20:00, 3 November 2014

Contents

Description

Executado quando o usuário cancela o processo de conexão de um novo provedor de login (não autoriza o login social).

Adding Handler

socialid.events.onConnectCancel.addHandler(handler)

Event Data

event onConnectCancel
provider Provider used in the connection. Can be "facebook", "twitter", "linkedin", or "gplus".

Example

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

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

Example data object:

 {
   event: "onConnectCancel",
   provider: "twitter"
 }
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox