ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Go to the source code of this file.
Variables | |
$userList | |
This example shows how to do Digest authentication. More... | |
user2 | |
$paths | |
foreach($paths as $path) | $request = Sapi::getRequest() |
$response = new Response() | |
$digestAuth = new Auth\Digest("Locked down area", $request, $response) | |
if(! $userName=$digestAuth->getUsername()) elseif(!isset($userList[$userName])||! $digestAuth->validatePassword($userList[$userName])) | else |
$digestAuth = new Auth\Digest("Locked down area", $request, $response) |
Definition at line 37 of file digestauth.php.
$paths |
Definition at line 20 of file digestauth.php.
foreach ( $paths as $path) $request = Sapi::getRequest() |
Definition at line 34 of file digestauth.php.
$response = new Response() |
Definition at line 35 of file digestauth.php.
$userList |
This example shows how to do Digest authentication.
Definition at line 10 of file digestauth.php.
if (! $userName=$digestAuth->getUsername()) elseif (!isset( $userList[ $userName])||! $digestAuth->validatePassword( $userList[ $userName])) else |
Definition at line 48 of file digestauth.php.
user2 |
Definition at line 12 of file digestauth.php.