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
An array of capabilities, so that the driver can report which operations it supports and which it doesn't.
Inherited from Auth
Auth::$_authCredentials
Auth::$_params
Constructs a new RADIUS authentication object.
Inherited From Auth
Auth::addHook()
Auth::addLogoutParameters()
Auth::addUser()
Auth::authenticate()
Auth::clearAuth()
Auth::exists()
Auth::factory()
Auth::genRandomPassword()
Auth::getAuth()
Auth::getAuthDomain()
Auth::getBareAuth()
Auth::getCredential()
Auth::getCryptedPassword()
Auth::getDriver()
Auth::getLoginScreen()
Auth::getLogoutReason()
Auth::getLogoutReasonString()
Auth::getParam()
Auth::getProvider()
Auth::getSalt()
Auth::hasCapability()
Auth::isAdmin()
Auth::isAuthenticated()
Auth::isPasswordChangeRequested()
Auth::listUsers()
Auth::readSessionData()
Auth::removeHook()
Auth::removeUser()
Auth::removeUserData()
Auth::setAuth()
Auth::setCredential()
Auth::singleton()
Auth::transparent()
Auth::updateUser()
Auth::_authenticate()
Auth::_isAdmin()
Documentation generated on Sun, 30 Jan 2011 05:20:43 +0000 by phpDocumentor 1.4.3