blob: 403be89c27f378455c1683f86f98479f371521f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
|
<?php
/**
* HybridAuth
* http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth
* (c) 2009-2015, 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
* @var mixed
*/
public $identifier = null;
/**
* User website, blog, web page
* @var string
*/
public $webSiteURL = null;
/**
* URL link to profile page on the IDp web site
* @var string
*/
public $profileURL = null;
/**
* URL link to user photo or avatar
* @var string
*/
public $photoURL = null;
/**
* User displayName provided by the IDp or a concatenation of first and last name.
* @var string
*/
public $displayName = null;
/**
* A short about_me
* @var string
*/
public $description = null;
/**
* User's first name
* @var string
*/
public $firstName = null;
/**
* User's last name
* @var string
*/
public $lastName = null;
/**
* Male or female
* @var string
*/
public $gender = null;
/**
* Language
* @var string
*/
public $language = null;
/**
* User age, we don't calculate it. we return it as is if the IDp provide it.
* @var int
*/
public $age = null;
/**
* User birth Day
* @var int
*/
public $birthDay = null;
/**
* User birth Month
* @var int
*/
public $birthMonth = null;
/**
* User birth Year
* @var int
*/
public $birthYear = null;
/**
* User email. Note: not all of IDp grant access to the user email
* @var string
*/
public $email = null;
/**
* Verified user email. Note: not all of IDp grant access to verified user email
* @var string
*/
public $emailVerified = null;
/**
* Phone number
* @var string
*/
public $phone = null;
/**
* Complete user address
* @var string
*/
public $address = null;
/**
* User country
* @var string
*/
public $country = null;
/**
* Region
* @var string
*/
public $region = null;
/**
* City
* @var string
*/
public $city = null;
/**
* Postal code
* @var string
*/
public $zip = null;
/**
* Job title
* @var string
*/
public $job_title = null;
/**
* Organization name
* @var string
*/
public $organization_name = null;
}
|