PHP Class Horde_Auth_Ipbasic, horde
It is not meant for user-based systems, but for times when you want a block
of IPs to be able to access a site, and that access is simply on/off - no
preferences, etc.
Mostrar archivo
Open project: horde/horde
Protected Properties
Property |
Type |
Description |
|
$_capabilities |
array |
An array of capabilities, so that the driver can report which
operations it supports and which it doesn't. |
|
Public Methods
Method |
Description |
|
__construct ( array $params = [] ) |
Constructor. |
|
transparent ( ) : boolean |
Automatic authentication: Find out if the client matches an allowed IP
block. |
|
Protected Methods
Method Details
__construct()
public method
public __construct ( array $params = [] ) |
$params |
array |
Optional Parameters:
'blocks' - (array) CIDR masks which are allowed access.
|
_addressWithinCIDR()
protected method
Determine if an IP address is within a CIDR block.
_authenticate()
protected method
transparent()
public method
Automatic authentication: Find out if the client matches an allowed IP
block.
Property Details
$_capabilities protected_oe property
An array of capabilities, so that the driver can report which
operations it supports and which it doesn't.
protected array $_capabilities |
return |
array |
|