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 Basic authentication. More... | |
$paths | |
foreach($paths as $path) | $request = Sapi::getRequest() |
$response = new Response() | |
$basicAuth = new Auth\Basic("Locked down area", $request, $response) | |
if(! $userPass=$basicAuth->getCredentials()) elseif(!isset($userList[$userPass[0]])|| $userList[$userPass[0]] !==$userPass[1]) | else |
$basicAuth = new Auth\Basic("Locked down area", $request, $response) |
Definition at line 37 of file basicauth.php.
Referenced by Monolog\Handler\CouchDBHandler\write().
$paths |
Definition at line 20 of file basicauth.php.
foreach ( $paths as $path) $request = Sapi::getRequest() |
Definition at line 34 of file basicauth.php.
$response = new Response() |
Definition at line 35 of file basicauth.php.
$userList |
This example shows how to do Basic authentication.
Definition at line 10 of file basicauth.php.
if(! $userPass=$basicAuth->getCredentials()) elseif (!isset( $userList[ $userPass[0]])||$userList[ $userPass[0]] !==$userPass[1]) else |
Definition at line 47 of file basicauth.php.