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_Radius

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

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

Copyright 2002-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_Radius
Package: Auth
Category: Horde
License: LGPL-2.1
Author: Michael Slusarz slusarz@horde.org
Located at Horde/Auth/Radius.php
Methods summary
public
# __construct( array $params = array() )

Constructor.

Constructor.

Parameters

$params
Connection parameters. <pre><span class="php-quote">'host'</span> - (string) [REQUIRED] The RADIUS host to <span class="php-keyword1">use</span> (IP address <span class="php-keyword1">or</span> fully qualified hostname). <span class="php-quote">'method'</span> - (string) [REQUIRED] The RADIUS method to <span class="php-keyword1">use</span> <span class="php-keyword1">for</span> validating the request. Either: <span class="php-quote">'PAP'</span>, <span class="php-quote">'CHAP_MD5'</span>, <span class="php-quote">'MSCHAPv1'</span>, <span class="php-keyword1">or</span> <span class="php-quote">'MSCHAPv2'</span>. ** CURRENTLY, only <span class="php-quote">'PAP'</span> is supported. ** <span class="php-quote">'nas'</span> - (string) The RADIUS NAS identifier to <span class="php-keyword1">use</span>. <span class="php-keyword1">DEFAULT</span>: The value of <span class="php-var">$_SERVER</span>[<span class="php-quote">'HTTP_HOST'</span>] <span class="php-keyword1">or</span>, <span class="php-keyword1">if</span> not <span class="php-keyword2">defined</span>, then <span class="php-quote">'localhost'</span>. <span class="php-quote">'port'</span> - (integer) The port to <span class="php-keyword1">use</span> on the RADIUS server. <span class="php-keyword1">DEFAULT</span>: Whatever the local <span class="php-keyword2">system</span> identifies <span class="php-keyword1">as</span> the <span class="php-quote">'radius'</span> UDP port <span class="php-quote">'retries'</span> - (integer) The maximum number of repeated requests to make before giving up. <span class="php-keyword1">DEFAULT</span>: <span class="php-num">3</span> <span class="php-quote">'secret'</span> - (string) [REQUIRED] The RADIUS shared secret string <span class="php-keyword1">for</span> the host. The RADIUS protocol ignores all but the leading <span class="php-num">128</span> bytes of the shared secret. <span class="php-quote">'suffix'</span> - (string) The domain name to add to unqualified user names. <span class="php-keyword1">DEFAULT</span>: NONE <span class="php-quote">'timeout'</span> - (integer) The timeout <span class="php-keyword1">for</span> receiving replies from the server (in seconds). <span class="php-keyword1">DEFAULT</span>: <span class="php-num">3</span></pre>

Throws

InvalidArgumentException

Overrides

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