Was this article helpful?

Protocol GSEventDelegate

Modified 18:27, 14 Apr 2013 by shirly
Table of contents

This delegate may be used to receive notification about the following global events:

  • Login - Fired whenever a user successfully logs in to Gigya.
  • Logout - Fired whenever a user logs out from Gigya.
  • Connection Added - Fired whenever a user is connected to a provider?.
  • Connection Removed - Fired whenever a user is disconnected from a provider.

Global application events are fired whenever the event they refer to occurs, regardless of what was the action that triggered the event. This is in contrast to UI events, which are only fired by the specific UI they were configured on.

To register to these events, setting the eventDelegate field of GSAPI with an object that conforms to this protocol:

gsAPI.eventDelegate   =  <An Object That Conforms to the GSEventDelegate>;

Note: all protocol messages are optional.

 

Method Summary

Method Description
(void)    gsDidLogin:(NSString*)provider user:(GSObject*)user context:(id)context Fired whenever a user successfully logs in to Gigya.
(void)    gsDidLogout Fired whenever a user logs out from Gigya.
(void)    gsDidAddConnection:(NSString*)provider user:(GSObject*)user context:(id)context Fired whenever a user is connected to a provider?.
(void)    gsDidRemoveConnection:(NSString*)provider context:(id)context Fired whenever a user is disconnected from a provider.
Was this article helpful?
Page statistics
1139 view(s) and 2 edit(s)
Social share
Share this page?

Tags

This page has no custom tags set.

Comments

You must to post a comment.

Attachments