summaryrefslogtreecommitdiffstats
path: root/includes/HybridAuth/User_Contact.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/HybridAuth/User_Contact.php')
-rw-r--r--includes/HybridAuth/User_Contact.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/includes/HybridAuth/User_Contact.php b/includes/HybridAuth/User_Contact.php
new file mode 100644
index 0000000..921867c
--- /dev/null
+++ b/includes/HybridAuth/User_Contact.php
@@ -0,0 +1,37 @@
+<?php
+/*!
+* HybridAuth
+* http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth
+* (c) 2009-2012, HybridAuth authors | http://hybridauth.sourceforge.net/licenses.html
+*/
+
+/**
+ * Hybrid_User_Contact
+ *
+ * used to provider the connected user contacts list on a standardized structure across supported social apis.
+ *
+ * http://hybridauth.sourceforge.net/userguide/Profile_Data_User_Contacts.html
+ */
+class Hybrid_User_Contact
+{
+ /* The Unique contact user ID */
+ 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 email. Not all of IDp garant access to the user email */
+ public $email = NULL;
+}