XOOPS
2.6.0
|
Public Member Functions | |
__construct (AuthAbstract $auth_instance) | |
add ($data, $uname, $pwd=null) | |
change (\XoopsUser $xoopsUser, $data, $uname, $pwd=null) | |
delete () | |
getXoopsUser ($uname) | |
resetpwd () | |
restore () | |
suspend () | |
sync ($data, $uname, $pwd=null) | |
Static Public Member Functions | |
static | getInstance (AuthAbstract $auth_instance) |
Public Attributes | |
$ldap_field_mapping | |
$ldap_provisioning | |
$ldap_provisioning_group | |
$ldap_provisioning_upd | |
Protected Member Functions | |
setVarsMapping ($object, $data) | |
Protected Attributes | |
$auth_instance | |
Definition at line 29 of file Provisioning.php.
Xoops\Auth\Provisioning::__construct | ( | AuthAbstract | $auth_instance | ) |
Authentication Service constructor
AuthAbstract | $auth_instance | auth instance |
Definition at line 78 of file Provisioning.php.
References Xoops\Auth\Provisioning\$auth_instance, $configs, $xoops, and Xoops\getInstance().
Xoops\Auth\Provisioning::add | ( | $data, | |
$uname, | |||
$pwd = null |
|||
) |
Add a new user to the system
string | $data | data |
string | $uname | username |
string | $pwd | password |
Definition at line 172 of file Provisioning.php.
References $member_handler, $uname, $xoops, XoopsBaseConfig\get(), Xoops\getInstance(), and Xoops\Auth\Provisioning\setVarsMapping().
Referenced by Xoops\Auth\Provisioning\sync().
Xoops\Auth\Provisioning::change | ( | \XoopsUser | $xoopsUser, |
$data, | |||
$uname, | |||
$pwd = null |
|||
) |
Modify user information
\XoopsUser | $xoopsUser | user object |
string | $data | data |
string | $uname | username |
string | $pwd | password |
Definition at line 214 of file Provisioning.php.
References $member_handler, $xoops, $xoopsUser, XoopsBaseConfig\get(), Xoops\Core\Kernel\XoopsObject\getHtmlErrors(), Xoops\getInstance(), Xoops\Core\Kernel\XoopsObject\setVar(), and Xoops\Auth\Provisioning\setVarsMapping().
Referenced by Xoops\Auth\Provisioning\sync().
Xoops\Auth\Provisioning::delete | ( | ) |
|
static |
AuthAbstract | $auth_instance | auth instance |
Definition at line 63 of file Provisioning.php.
References Xoops\Auth\Provisioning\$auth_instance.
Referenced by Xoops\Auth\Ldap\loadXoopsUser().
Xoops\Auth\Provisioning::getXoopsUser | ( | $uname | ) |
Return a Xoops User Object
string | $uname | username |
Definition at line 95 of file Provisioning.php.
References $criteria, $getuser, $member_handler, $uname, $xoops, and Xoops\getInstance().
Referenced by Xoops\Auth\Provisioning\sync().
Xoops\Auth\Provisioning::resetpwd | ( | ) |
Xoops\Auth\Provisioning::restore | ( | ) |
|
protected |
setVarsMapping
object | $object | user object |
array | $data | data |
Definition at line 146 of file Provisioning.php.
Referenced by Xoops\Auth\Provisioning\add(), and Xoops\Auth\Provisioning\change().
Xoops\Auth\Provisioning::suspend | ( | ) |
Xoops\Auth\Provisioning::sync | ( | $data, | |
$uname, | |||
$pwd = null |
|||
) |
Launch the synchronisation process
string | $data | data |
string | $uname | username |
string | $pwd | password |
Definition at line 117 of file Provisioning.php.
References $uname, $xoopsUser, Xoops\Auth\Provisioning\add(), Xoops\Auth\Provisioning\change(), XoopsLocaleEn_US\EF_CORRESPONDING_USER_NOT_FOUND_IN_DATABASE, and Xoops\Auth\Provisioning\getXoopsUser().
|
protected |
Definition at line 34 of file Provisioning.php.
Referenced by Xoops\Auth\Provisioning\__construct(), and Xoops\Auth\Provisioning\getInstance().
Xoops\Auth\Provisioning::$ldap_field_mapping |
var array
Definition at line 49 of file Provisioning.php.
Xoops\Auth\Provisioning::$ldap_provisioning |
Definition at line 39 of file Provisioning.php.
Xoops\Auth\Provisioning::$ldap_provisioning_group |
Definition at line 54 of file Provisioning.php.
Xoops\Auth\Provisioning::$ldap_provisioning_upd |
Definition at line 44 of file Provisioning.php.