Was this article helpful?

env.init

Modified 15:41, 21 Aug 2012 by Admin

Description

 

Initializes the Gigya env service and must be called before any other function.

Note: You must wait for the callback to be called with status='OK' before you calling any other method of this service.

  

Syntax

gigya.env.init(params)

 

Global Configuration Object

Please refer to the create a global configuration object section of the Developer's Guide for the full specification.

 

params Object Members

 

  Name Type Description
Optional callback function A callback function that will be called with the results of the method when it completes.
  context object A context object that will be passed back unmodified to the application in the result object passed to the callback function.

 

Response Object Data Members

The response object common members:

Field Type Description
hadError Boolean Indicates if an error has occurred
requestParams Object This is the params object that was passed to the original method call.
errorCode int An error code or 0 if no error has occurred.
errorMessage String The description of the error.T
errorData Object This object provides additional data about the error.

  

Errors

Code Error
OK The operation completed successfully
   
Was this article helpful?
Page statistics
169 view(s) and 1 edit(s)
Social share
Share this page?

Tags

This page has no custom tags set.

Comments

You must to post a comment.

Attachments