Implements Radius authentication using Pure PHP radius class as downloaded from http://www.phpkode.com/scripts/item/pure-php-radius-class/
This class is a wrapper around the Pure PHP radius class by SysCo systemes de communication sa see library folder for specific copyright and license information
Check the constructor for required config parameters.
package | Gems |
---|---|
subpackage | User |
copyright | Copyright (c) 2011 Erasmus MC |
license | New BSD License |
since | Class available since version 1.5 |
__construct(array $config = array()
) : void
Supported params for $config are:
The minimal options are ip and shared secret, all others are optional
array
Array of user-specified config options.
authenticate() : \Zend_Auth_Result
\Zend_Auth_Adapter_Exception |
if answering the authentication query is impossible |
---|
\Zend_Auth_Result
setCredential(string $credential) : \Gems_User_Adapter_Radius
string
\Gems_User_Adapter_Radius
Provides a fluent interfacesetIdentity(string $value) : \Gems_User_Adapter_Radius
string
\Gems_User_Adapter_Radius
Provides a fluent interface_authenticateCreateAuthResult() : \Zend_Auth_Result
\Zend_Auth_Result
_authenticateSetup() : true
\Gems_Exception_Coding |
- in the event that setup was not done properly |
---|
true
$_accountingPort : integer
1813
$_authenticateResultInfo : array
null
$_authenticationPort : integer
1812
$_credential : string
null
$_identity : string
null
$_ip : string
null
$_radius : \Radius
null
$_sharedSecret : string
null
$_suffix : string
null
$_timeout : integer
5