ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
HTTP Authentication base class. More...
Public Member Functions | |
__construct ($realm='SabreTooth', RequestInterface $request, ResponseInterface $response) | |
Creates the object. More... | |
requireLogin () | |
This method sends the needed HTTP header and statuscode (401) to force the user to login. More... | |
getRealm () | |
Returns the HTTP realm. More... | |
Protected Attributes | |
$realm | |
$request | |
$response | |
HTTP Authentication base class.
This class provides some common functionality for the various base classes.
Definition at line 17 of file AbstractAuth.php.
Sabre\HTTP\Auth\AbstractAuth::__construct | ( | $realm = 'SabreTooth' , |
|
RequestInterface | $request, | ||
ResponseInterface | $response | ||
) |
Creates the object.
string | $realm |
Definition at line 46 of file AbstractAuth.php.
References Sabre\HTTP\Auth\AbstractAuth\$realm, Sabre\HTTP\Auth\AbstractAuth\$request, Sabre\HTTP\Auth\AbstractAuth\$response, and Sabre\HTTP\Auth\AbstractAuth\requireLogin().
Sabre\HTTP\Auth\AbstractAuth::getRealm | ( | ) |
Returns the HTTP realm.
Definition at line 67 of file AbstractAuth.php.
References Sabre\HTTP\Auth\AbstractAuth\$realm.
|
abstract |
This method sends the needed HTTP header and statuscode (401) to force the user to login.
Referenced by Sabre\HTTP\Auth\AbstractAuth\__construct().
|
protected |
Definition at line 24 of file AbstractAuth.php.
Referenced by Sabre\HTTP\Auth\AbstractAuth\__construct(), Sabre\HTTP\Auth\Digest\__construct(), and Sabre\HTTP\Auth\AbstractAuth\getRealm().
|
protected |
Definition at line 31 of file AbstractAuth.php.
Referenced by Sabre\HTTP\Auth\AbstractAuth\__construct().
|
protected |
Definition at line 38 of file AbstractAuth.php.
Referenced by Sabre\HTTP\Auth\AbstractAuth\__construct().