Auth_HTTP::Auth_HTTP()

Auth_HTTP::Auth_HTTP() – Constructeur

Synopsis

void Auth_HTTP::Auth_HTTP ( string $driverDeStockage = "DB" , mixed $options = "" )

Description

Constructeur pour le système d'identification.

Parameter

string $driverDeStockage

nom du driver de stockage qui doit être utilisé

mixed $options

une chaîne contenant des information d'identification ou un tableau contenant une série d'option pour le driver de stockage

Note

This function can not be called statically.

Example

Utilisation de differents paramètres DB

<?php
require_once "Auth/HTTP.php";

$a = new Auth_HTTP("DB""mysql://test:test@localhost/test");

$a->start();
?>