Gigya Job Openings

Page History

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ConstructorDescription
GSRequest(string $apiKey,
                     string $secretKey,
                     string $apiMethod,
                     GSObject $params = null,
                     boolean $useHTTPS = false,
                     string $userKey = null)                    
Constructs a request using the following parameters:
  • apiKey - Your Gigya API-Key which can be obtained from the Dashboard section on Gigya's website (Read more in the Site Setup documentation).
  • secretKey - Your Gigya Secret-Key which can be obtained from the Dashboard section on Gigya's website (Read more in the Site Setup documentation).
  • apiMethod - The Gigya API method to call, including namespace. For example: 'socialize.getUserInfo'. Please refer to the REST API reference for the list of available methods.
  • params (optional) - A GSObject that contains the parameters for the Gigya API method to call. Please refer to the REST API reference and find in the specific method reference the list of method parameters.
  • useHTTPS (optional) - If you wish to send the request to Gigya using HTTPS, please set this parameter to TRUE.
    By default the request is sent using HTTP in SDK versions < 2.16.0.
  • userKey (optional) - A key of an admin/application user with extra permissions. If this parameter is provided, then the secretKey parameter is assumed to be the admin user's secret key and not the site's secret key.
Panel
borderColor#81C0FC
bgColor#F4F7FC
borderWidth1
borderStylesolid

Note: you may pass an OAuth 2.0 access_token instead of passing APIKey+SecretKey. Pass the access_token as the first parameter (instead of APIKey) and null as the second (instead secretKey). Learn more about OAuth 2.0 and how to receive an access_token here.

  • accessToken - The access token that was earlier obtained in the login process.
  • apiMethod - The Gigya API method to call, including namespace. For example: 'socialize.getUserInfo'. Please refer to the REST API reference for the list of available methods.

...