Class Auth_radius

Description

The Auth_radius class provides a RADIUS implementation of the Horde authentication system.

This class requires the 'radius' PECL extension. RADIUS PECL extension: http://pecl.php.net/package/radius

On *nix-y machines, this extension can be installed as follows:

   "pecl install radius"

Then, edit your php.ini file and make sure the following line is present:

   For Windows machines:  extension=php_radius.dll
   For all others:        extension=radius.so

Required parameters:

   'host'    The RADIUS host to use (IP address or fully qualified
             hostname).
   'method'  The RADIUS method to use for validating the request.
             Either: 'PAP', 'CHAP_MD5', 'MSCHAPv1', or 'MSCHAPv2'.
             ** CURRENTLY, only 'PAP' is supported. **
   'secret'  The RADIUS shared secret string for the host. The
             RADIUS protocol ignores all but the leading 128 bytes
             of the shared secret.

Optional parameters:

   'nas'      The RADIUS NAS identifier to use.
              DEFAULT: The value of $_SERVER['HTTP_HOST'] or, if not
                       defined, then 'localhost'.
   'port'     The port to use on the RADIUS server.
              DEFAULT: Whatever the local system identifies as the
                       'radius' UDP port
   'retries'  The maximum number of repeated requests to make before
              giving up.
              DEFAULT: 3
   'suffix'   The domain name to add to unqualified user names.
              DEFAULT: NONE
   'timeout'  The timeout for receiving replies from the server (in
              seconds).
              DEFAULT: 3 seconds

$Horde: framework/Auth/Auth/radius.php,v 1.24.8.13 2009/01/06 15:22:50 jan Exp $

Copyright 2002-2009 The Horde Project (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://opensource.org/licenses/lgpl-license.php.

Located in /Auth/Auth/radius.php (line 54)

Auth
   |
   --Auth_radius
Variable Summary
Method Summary
 Auth_radius Auth_radius ([array $params = array()])
Variables
array $capabilities = array('add' => false,
'update' => false,
'resetpassword' => false,
'remove' => false,
'list' => false,
'transparent' => false)
(line 62)

An array of capabilities, so that the driver can report which operations it supports and which it doesn't.


Redefinition of:
Auth::$capabilities
An array of capabilities, so that the driver can report which operations it supports and which it doesn't.

Inherited Variables

Inherited from Auth

Auth::$_authCredentials
Auth::$_params
Methods

Documentation generated on Sun, 30 Jan 2011 05:20:43 +0000 by phpDocumentor 1.4.3