diff options
author | BlueRaja <BlueRaja.admin@gmail.com> | 2013-06-01 20:10:36 -0500 |
---|---|---|
committer | BlueRaja <BlueRaja.admin@gmail.com> | 2013-06-01 20:10:36 -0500 |
commit | 951330c9f83c8c8ee98f65fdccb5797e2e59d1f3 (patch) | |
tree | fc7b196ca0d91c1c71dcd945aa9667c7af0134fa /includes/HybridAuth/User_Profile.php | |
parent | e58a3b8b3702b22c903b02a9b4fa1020d6797459 (diff) | |
download | pathery-951330c9f83c8c8ee98f65fdccb5797e2e59d1f3.tar.xz |
A partial commit of the auth stuff, in case my upcoming changes break anything
Diffstat (limited to 'includes/HybridAuth/User_Profile.php')
-rw-r--r-- | includes/HybridAuth/User_Profile.php | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/includes/HybridAuth/User_Profile.php b/includes/HybridAuth/User_Profile.php new file mode 100644 index 0000000..4155d8e --- /dev/null +++ b/includes/HybridAuth/User_Profile.php @@ -0,0 +1,84 @@ +<?php +/*! +* HybridAuth +* http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth +* (c) 2009-2012, HybridAuth authors | http://hybridauth.sourceforge.net/licenses.html +*/ + +/** + * Hybrid_User_Profile object represents the current logged in user profile. + * The list of fields available in the normalized user profile structure used by HybridAuth. + * + * The Hybrid_User_Profile object is populated with as much information about the user as + * HybridAuth was able to pull from the given API or authentication provider. + * + * http://hybridauth.sourceforge.net/userguide/Profile_Data_User_Profile.html + */ +class Hybrid_User_Profile +{ + /* The Unique user's ID on the connected provider */ + public $identifier = NULL; + + /* User website, blog, web page */ + public $webSiteURL = NULL; + + /* URL link to profile page on the IDp web site */ + public $profileURL = NULL; + + /* URL link to user photo or avatar */ + public $photoURL = NULL; + + /* User dispalyName provided by the IDp or a concatenation of first and last name. */ + public $displayName = NULL; + + /* A short about_me */ + public $description = NULL; + + /* User's first name */ + public $firstName = NULL; + + /* User's last name */ + public $lastName = NULL; + + /* male or female */ + public $gender = NULL; + + /* language */ + public $language = NULL; + + /* User age, we dont calculate it. we return it as is if the IDp provide it. */ + public $age = NULL; + + /* User birth Day */ + public $birthDay = NULL; + + /* User birth Month */ + public $birthMonth = NULL; + + /* User birth Year */ + public $birthYear = NULL; + + /* User email. Note: not all of IDp garant access to the user email */ + public $email = NULL; + + /* Verified user email. Note: not all of IDp garant access to verified user email */ + public $emailVerified = NULL; + + /* phone number */ + public $phone = NULL; + + /* complete user address */ + public $address = NULL; + + /* user country */ + public $country = NULL; + + /* region */ + public $region = NULL; + + /** city */ + public $city = NULL; + + /* Postal code */ + public $zip = NULL; +} |