DomCi : update the parameters definitions
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3280 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -6,12 +6,16 @@
|
||||
/** Takes the email and the password of the user */
|
||||
class authparams
|
||||
{
|
||||
/** The email of the user when provided */
|
||||
public $email = null;
|
||||
/** The password of the user when provided */
|
||||
public $password = null;
|
||||
|
||||
/** Parse the different authentication processes to found the email/password
|
||||
of the user.
|
||||
If non is found, return "anonymous", "anonymous" */
|
||||
* of the user.
|
||||
* If non is found, return "anonymous", "anonymous"
|
||||
* @param array|null $authprocesses The authentication process to use
|
||||
*/
|
||||
public function __construct ($authprocesses=array("session","post"))
|
||||
{
|
||||
if (php_sapi_name () === "cli")
|
||||
|
||||
Reference in New Issue
Block a user