Last change
on this file since 20293 was
20293,
checked in by mistic100, 11 years ago
|
first commit of oAuth plugin, still in developpement
|
File size:
763 bytes
|
Line | |
---|
1 | <?php |
---|
2 | /*! |
---|
3 | * HybridAuth |
---|
4 | * http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth |
---|
5 | * (c) 2009-2012, HybridAuth authors | http://hybridauth.sourceforge.net/licenses.html |
---|
6 | */ |
---|
7 | |
---|
8 | /** |
---|
9 | * The Hybrid_User class represents the current loggedin user |
---|
10 | */ |
---|
11 | class Hybrid_User |
---|
12 | { |
---|
13 | /* The ID (name) of the connected provider */ |
---|
14 | public $providerId = NULL; |
---|
15 | |
---|
16 | /* timestamp connection to the provider */ |
---|
17 | public $timestamp = NULL; |
---|
18 | |
---|
19 | /* user profile, containts the list of fields available in the normalized user profile structure used by HybridAuth. */ |
---|
20 | public $profile = NULL; |
---|
21 | |
---|
22 | /** |
---|
23 | * inisialize the user object, |
---|
24 | */ |
---|
25 | function __construct() |
---|
26 | { |
---|
27 | $this->timestamp = time(); |
---|
28 | |
---|
29 | $this->profile = new Hybrid_User_Profile(); |
---|
30 | } |
---|
31 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.