Table of contents
Description
This method is deprecated! Please avoid using it.
Instead you can use socialize.getUserInfo, which returns a User object with the isLoggedIn data member.
This determines whether the current user is logged in to the Gigya service.
Syntax
gigya.socialize.isLoggedIn (deprecated)(params)
Method Parameters
The following table lists the params object members:
| Required | Name | Type | Description |
| Optional | callback | function | A reference to a callback function. Gigya calls the specified function along with the results of the API method when the API method completes. The callback function should be defined with the following signature: functionName(response). The "Response object Data Members" table below provides specification of the data that is passed to the callback function. |
| cid | string | A string of maximum 100 characters length. This string is associated with each transaction and will later appear on reports generated by Gigya in the "Context ID" combo box. The cid allows you to associate the report information with your own internal data. For example, to identify a specific widget or page on your site/application. The "Context ID" combo box lets you filter the report data by site/application context. Note: the value of this parameter overrides the value of the identical parameter in the global configuration object. | |
| context | object | A developer-created object that is passed back unchanged to the application as one of the fields in the response object. |
| Field | Type | Description |
| loggedIn | boolean | Whether the current user is logged in to the Gigya service. |

Comments