Auth
[ class tree: Auth ] [ index: Auth ] [ all elements ]

Class: Auth_Container_RADIUS

Source Location: /Auth-1.6.4/Auth/Container/RADIUS.php

Class Overview

Auth_Container
   |
   --Auth_Container_RADIUS

Storage driver for authenticating users against RADIUS servers.


Author(s):

Version:

  • Release: @package_version@ File: $Revision: 237449 $

Copyright:

  • 2001-2006 The PHP Group

Variables

Methods


Inherited Variables

Inherited Methods

Class: Auth_Container

Auth_Container::Auth_Container()
Constructor
Auth_Container::addUser()
Add a new user to the storage container
Auth_Container::changePassword()
Change password for user in the storage container
Auth_Container::fetchData()
Fetch data from storage container
Auth_Container::getCryptType()
Returns the crypt current crypt type of the container
Auth_Container::getUser()
Returns a user assoc array
Auth_Container::listUsers()
List all users that are available from the storage container
Auth_Container::log()
Log a message to the Auth log
Auth_Container::removeUser()
Remove user from the storage container
Auth_Container::supportsChallengeResponse()
Returns true if the container supports Challenge Response
Auth_Container::verifyPassword()
Crypt and verfiy the entered password

Class Details

[line 48]
Storage driver for authenticating users against RADIUS servers.


[ Top ]


Class Variables

$authtype =

[line 63]

Contains the authentication type

Type:   string


[ Top ]

$radius =

[line 57]

Contains a RADIUS object

Type:   object


[ Top ]



Method Detail

Auth_Container_RADIUS (Constructor)   [line 81]

object Returns Auth_Container_RADIUS( $options $options)

Constructor of the container class.

$options can have these keys: 'servers' an array containing an array: servername, port, sharedsecret, timeout, maxtries 'configfile' The filename of the configuration file 'authtype' The type of authentication, one of: PAP, CHAP_MD5, MSCHAPv1, MSCHAPv2, default is PAP

  • Return: an error object if something went wrong

Parameters:

$options   $options   —  associative array

[ Top ]

fetchData   [line 126]

bool fetchData( string $username, string $password, [ $challenge = null])

Authenticate
  • Return: true on success, false on reject

Overrides Auth_Container::fetchData() (Fetch data from storage container)

Parameters:

string   $username   —  Username
string   $password   —  Password
   $challenge   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:41:38 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.