Alternc
latest
Alternc logiel libre pour l'hébergement
|
Passowrd Policy Api of AlternC, used by alternc-api package. More...
Public Member Functions | |
update ($options) | |
API Method from legacy class method admin->editPolicy($policy,$minsize,$maxsize,$classcount,$allowlogin) More... | |
find ($options) | |
API Method from legacy class method admin->listPasswordPolicies() More... | |
check ($options) | |
API Method from legacy class method admin->checkPolicy($policy,$login,$password) More... | |
Public Attributes | |
const | ERR_INVALID_ARGUMENT = 111201 |
const | ERR_ALTERNC_FUNCTION = 111202 |
const | ERR_NOT_FOUND = 111203 |
Protected Member Functions | |
alterncLegacyErrorManager () | |
return a proper Alternc_Api_Response from an error class and error string from AlternC legacy class More... | |
offsetAndCount ($options, $max) | |
ensure that offset & count are set properly from $options. More... | |
Protected Attributes | |
$admin | |
$cuid | |
$isAdmin | |
$db | |
Passowrd Policy Api of AlternC, used by alternc-api package.
Definition at line 6 of file Policy.php.
|
protectedinherited |
return a proper Alternc_Api_Response from an error class and error string from AlternC legacy class
Definition at line 38 of file Legacyobject.php.
References $err.
Referenced by Alternc_Api_Object_Mail\account(), Alternc_Api_Object_Account\add(), Alternc_Api_Object_Domain\add(), Alternc_Api_Object_Ftp\add(), Alternc_Api_Object_Mysql\add(), Alternc_Api_Object_Ssl\aliasAdd(), Alternc_Api_Object_Ssl\aliasDel(), check(), Alternc_Api_Object_Mail\create(), Alternc_Api_Object_Account\del(), Alternc_Api_Object_Domain\del(), Alternc_Api_Object_Ftp\del(), Alternc_Api_Object_Mysql\del(), Alternc_Api_Object_Mail\delete(), Alternc_Api_Object_Mail\disable(), Alternc_Api_Object_Mail\enable(), Alternc_Api_Object_Ssl\finalize(), Alternc_Api_Object_Account\find(), Alternc_Api_Object_Ftp\find(), Alternc_Api_Object_Mysql\find(), find(), Alternc_Api_Object_Domain\get(), Alternc_Api_Object_Mail\get(), Alternc_Api_Object_Subdomain\get(), Alternc_Api_Object_Mail\getAll(), Alternc_Api_Object_Ssl\getCertificate(), Alternc_Api_Object_Ssl\importCert(), Alternc_Api_Object_Mail\isAvailable(), Alternc_Api_Object_Ftp\isFtp(), Alternc_Api_Object_Mail\listDomains(), Alternc_Api_Object_Account\lock(), Alternc_Api_Object_Mysql\lock(), Alternc_Api_Object_Ssl\newCsr(), Alternc_Api_Object_Mail\passwd(), Alternc_Api_Object_Subdomain\set(), Alternc_Api_Object_Account\setAdmin(), Alternc_Api_Object_Mysql\setAdmin(), Alternc_Api_Object_Ssl\share(), Alternc_Api_Object_Mail\undelete(), Alternc_Api_Object_Account\unlock(), Alternc_Api_Object_Mysql\unlock(), Alternc_Api_Object_Account\unsetAdmin(), Alternc_Api_Object_Mysql\unsetAdmin(), Alternc_Api_Object_Account\update(), Alternc_Api_Object_Domain\update(), Alternc_Api_Object_Ftp\update(), Alternc_Api_Object_Mail\update(), Alternc_Api_Object_Mysql\update(), and update().
Alternc_Api_Object_Policy::check | ( | $options | ) |
API Method from legacy class method admin->checkPolicy($policy,$login,$password)
$options | a hash with parameters transmitted to legacy call mandatory parameters: policy login password |
Definition at line 52 of file Policy.php.
References $key, and Alternc_Api_Legacyobject\alterncLegacyErrorManager().
Alternc_Api_Object_Policy::find | ( | $options | ) |
API Method from legacy class method admin->listPasswordPolicies()
$options | a hash with parameters transmitted to legacy call no options is used. |
Definition at line 37 of file Policy.php.
References Alternc_Api_Legacyobject\alterncLegacyErrorManager().
|
protectedinherited |
ensure that offset & count are set properly from $options.
Definition at line 45 of file Legacyobject.php.
Referenced by Alternc_Api_Object_Account\find(), Alternc_Api_Object_Domain\find(), Alternc_Api_Object_Ftp\find(), and Alternc_Api_Object_Mysql\find().
Alternc_Api_Object_Policy::update | ( | $options | ) |
API Method from legacy class method admin->editPolicy($policy,$minsize,$maxsize,$classcount,$allowlogin)
$options | a hash with parameters transmitted to legacy call mandatory parameters: policy minsize maxsize classcount allowlogin |
Definition at line 13 of file Policy.php.
References $key, and Alternc_Api_Legacyobject\alterncLegacyErrorManager().
|
protectedinherited |
Definition at line 11 of file Legacyobject.php.
Referenced by Alternc_Api_Legacyobject\__construct().
|
protectedinherited |
Definition at line 12 of file Legacyobject.php.
Referenced by Alternc_Api_Legacyobject\__construct(), Alternc_Api_Object_Domain\find(), Alternc_Api_Object_Domain\get(), Alternc_Api_Object_Subdomain\get(), Alternc_Api_Object_Mail\listDomains(), Alternc_Api_Object_Mail\login(), and Alternc_Api_Object_Subdomain\set().
|
protectedinherited |
Definition at line 14 of file Legacyobject.php.
|
protectedinherited |
Definition at line 13 of file Legacyobject.php.
Referenced by Alternc_Api_Legacyobject\__construct().
|
inherited |
Definition at line 17 of file Legacyobject.php.
|
inherited |
Definition at line 16 of file Legacyobject.php.
|
inherited |
Definition at line 18 of file Legacyobject.php.