Was this article helpful?

Identity

Last modified 14:22, 12 May 2014
Table of Contents

Description

This object represents a person's identity on a specific provider. A distinct Identity object is produced per each connected provider.

Note: Different providers supply different data. Thus, the availability of the data members of the Identity object depends on the specific provider.

 

Data Members

Field Name Type Description
provider string The name of the connected provider for this identity, in lowercase letters ("facebook", "yahoo", etc.).
providerUID string The person's ID on the connected provider. Note: this field may be rather long for some providers; if you plan to store it in a DB the recommended field size is 300 characters.
providerUIDSig string This field is available only if the signIDs field of the global configuration object was set to 'true'. The providerUIDSig field holds the HMAC-SHA1 hash of following string: "<timestamp>_<provider>_<providerUID>", where <timestamp>, <provider>, <providerUID> are substituted with the corresponding values.
isLoginIdentity Boolean Indicates whether this identity was the one that the user used in order to login.
nickname string The person's nickname, this may be either the nickname provided by the connected provider or a concatenation of first and last name.
allowsLogin Boolean Indicates whether the user may use this identity for logging in to your site.
isExpiredSession Boolean Indicates whether the session has expired for this provider (or is otherwise inactive). This field is relevant and available only if when calling the getUserInfo method you have set the includeAllIdentities parameter to 'true'.
lastLoginTime number The time of the user's last login in Unix time format (i.e. the number of seconds since Jan. 1st 1970).
photoURL string The URL of person's full size photo.
thumbnailURL string The URL of person's thumbnail photo, when available.
firstName string The person's first name. 
lastName string The person's last name. 
gender string The person's gender. The value may be 'm', 'f', or 'u' for male, female, or unspecified.
age number The person's age.
birthDay number The day in month in which the person was born.
birthMonth number The month in which the person was born.
birthYear number The year in which the person was born.
email string The person's email. 
country string The person's country.
state string The person's state.
city string The person's city.
zip string The person's zip code.
profileURL string The URL of the person's profile.
proxiedEmail string A proxied email address is a storable channel through which your application can contact your users. The proxied email address can be used just like a regular email address. Proxied emails are currently supported by Facebook only. For more information, please refer to Facebook's proxied email documentation.
You will receive the user's proxied email only if both of the following two conditions are fulfilled:

1. In your Gigya Site Setup process, you have checked the Enable retrieving emails in Facebook checkbox.

2. The user gave your application the permission to send him emails and chose to provide his proxied email instead of his regular email address (if condition 1 is fulfilled, while connecting to Facebook, the user will be prompted with a dialog to allow your application to send him emails).

languages string A comma-separated list of languages that the person speaks.
address string The person's address. 
phones array of objects The person's phone numbers. 
education array of objects The person's education details.
honors string A comma-separated list of the person's honors.
publications array of objects The person's publications' details.
patents array of objects The person's patents' details.
certifications array of objects The person's certifications' details.
professionalHeadline string The person's professional headline, often the job title at the company.
bio string A description of the person's professional profile.
industry string The industry in which the person's company operates .
specialties string The person's specialties.
work array of objects A collection of the person's work experience.
skills array of objects A collection of the person's skills.
religion string The person's religion.
politicalView string The person's political views.
interestedIn string The gender in which the person is interested.
relationshipStatus string The relationship status of the person.
hometown string The person's hometown.
favorites JSON object The person's favorite things, including favorite books, movies, etc.
likes array of objects The person's Facebook likes.
followersCount integer The number of users following this user.
followingCount integer The number of users this user is following.
username string The person's Facebook user name.
locale string The person's locale.
verified Boolean Indicates whether the person verified his email with Facebook.
timezone string The person's timezone.
Was this article helpful?
Pages that link here
Page statistics
4275 view(s) and 11 edit(s)
Social share
Share this page?

Tags

This page has no custom tags set.

Comments

You must to post a comment.

Attachments