Actualización
This commit is contained in:
33
main/auth/shibboleth/app/model/shibboleth_user.class.php
Normal file
33
main/auth/shibboleth/app/model/shibboleth_user.class.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Shibboleth;
|
||||
|
||||
/**
|
||||
* Represent a Shibboleth user. Not to be missunderstand with a Chamilo user
|
||||
* since they don't have the same attributes.
|
||||
*
|
||||
* @license see /license.txt
|
||||
* @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
|
||||
*/
|
||||
class ShibbolethUser
|
||||
{
|
||||
|
||||
public $unique_id = '';
|
||||
public $firstname = '';
|
||||
public $lastname = '';
|
||||
public $email = '';
|
||||
public $language = '';
|
||||
public $gender = '';
|
||||
public $address = '';
|
||||
public $staff_category = '';
|
||||
public $home_organization_type = '';
|
||||
public $home_organization = '';
|
||||
public $affiliation = '';
|
||||
public $persistent_id = '';
|
||||
|
||||
public function is_empty()
|
||||
{
|
||||
return empty($this->unique_id);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user