Overview

Packages

  • Auth

Classes

  • Horde_Auth
  • Horde_Auth_Auto
  • Horde_Auth_Base
  • Horde_Auth_Composite
  • Horde_Auth_Customsql
  • Horde_Auth_Cyrsql
  • Horde_Auth_Exception
  • Horde_Auth_Ftp
  • Horde_Auth_Http
  • Horde_Auth_Http_Remote
  • Horde_Auth_Imap
  • Horde_Auth_Ipbasic
  • Horde_Auth_Kolab
  • Horde_Auth_Ldap
  • Horde_Auth_Login
  • Horde_Auth_Msad
  • Horde_Auth_Pam
  • Horde_Auth_Passwd
  • Horde_Auth_Peclsasl
  • Horde_Auth_Radius
  • Horde_Auth_Shibboleth
  • Horde_Auth_Smb
  • Horde_Auth_Smbclient
  • Horde_Auth_Sql
  • Horde_Auth_Translation
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Auth_Ipbasic

The Horde_Auth_Ipbasic class provides access control based on CIDR masks (client IP addresses). 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.

Copyright 1999-2012 Horde LLC (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, http://www.horde.org/licenses/lgpl21

Horde_Auth_Base
Extended by Horde_Auth_Ipbasic
Package: Auth
Category: Horde
License: LGPL-2.1
Author: Chuck Hagenbuch chuck@horde.org
Located at Horde/Auth/Ipbasic.php
Methods summary
public
# __construct( array $params = array() )

Constructor.

Constructor.

Parameters

$params
Optional Parameters: <span class="php-quote">'blocks'</span> - (<span class="php-keyword1">array</span>) CIDR masks which are allowed access.

Overrides

Horde_Auth_Base::__construct()
public boolean
# transparent( )

Automatic authentication: Find out if the client matches an allowed IP block.

Automatic authentication: Find out if the client matches an allowed IP block.

Returns

boolean
Whether or not the client is allowed.

Throws

Horde_Auth_Exception

Overrides

Horde_Auth_Base::transparent()
Methods inherited from Horde_Auth_Base
addUser(), authenticate(), exists(), getCredential(), getError(), getParam(), hasCapability(), isLocked(), listUsers(), lockUser(), removeUser(), resetPassword(), setCredential(), setError(), unlockUser(), updateUser(), validateAuth()
API documentation generated by ApiGen