5.3 버전 내용 적용
This commit is contained in:
40
plugin/social/Hybrid/User.php
Normal file
40
plugin/social/Hybrid/User.php
Normal file
@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* HybridAuth
|
||||
* http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth
|
||||
* (c) 2009-2015, HybridAuth authors | http://hybridauth.sourceforge.net/licenses.html
|
||||
*/
|
||||
|
||||
/**
|
||||
* The Hybrid_User class represents the current logged in user
|
||||
*/
|
||||
class Hybrid_User {
|
||||
|
||||
/**
|
||||
* The ID (name) of the connected provider
|
||||
* @var mixed
|
||||
*/
|
||||
public $providerId = null;
|
||||
|
||||
/**
|
||||
* Timestamp connection to the provider
|
||||
* @var int
|
||||
*/
|
||||
public $timestamp = null;
|
||||
|
||||
/**
|
||||
* User profile, contains the list of fields available in the normalized user profile structure used by HybridAuth
|
||||
* @var Hybrid_User_Profile
|
||||
*/
|
||||
public $profile = null;
|
||||
|
||||
/**
|
||||
* Initialize the user object
|
||||
*/
|
||||
function __construct() {
|
||||
$this->timestamp = time();
|
||||
$this->profile = new Hybrid_User_Profile();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user