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

Class: Auth_RADIUS_PAP

Source Location: /Auth_RADIUS-1.1.0/Auth/RADIUS.php

Class Overview

Auth_RADIUS
   |
   --Auth_RADIUS_PAP

class Auth_RADIUS_PAP


Methods


Child classes:

Auth_RADIUS_CHAP_MD5
class Auth_RADIUS_CHAP_MD5

Inherited Variables

Inherited Methods

Class: Auth_RADIUS

Auth_RADIUS::__construct()
Constructor
Auth_RADIUS::addServer()
Adds a RADIUS server to the list of servers for requests.
Auth_RADIUS::close()
Frees resources.
Auth_RADIUS::createRequest()
Overwrite this.
Auth_RADIUS::dumpAttributes()
Prints known attributes received from the server.
Auth_RADIUS::getAttributes()
Reads all received attributes after sending the request.
Auth_RADIUS::getError()
Returns an error message, if an error occurred.
Auth_RADIUS::loadExtension()
Auth_RADIUS::open()
Overwrite this.
Auth_RADIUS::putAttribute()
Puts an attribute.
Auth_RADIUS::putAuthAttributes()
Puts custom attributes.
Auth_RADIUS::putConfigfile()
Configures the radius library via external configurationfile
Auth_RADIUS::putServer()
Configures the radius library.
Auth_RADIUS::putStandardAttributes()
Puts standard attributes.
Auth_RADIUS::putVendorAttribute()
Puts a vendor-specific attribute.
Auth_RADIUS::send()
Sends a prepared RADIUS request and waits for a response
Auth_RADIUS::setConfigfile()
Sets the configuration-file.
Auth_RADIUS::start()
Initiates a RADIUS request.

Class Details

[line 574]
class Auth_RADIUS_PAP

Class for authenticating using PAP (Plaintext)



[ Top ]


Method Detail

__construct (Constructor)   [line 584]

void __construct( [string $username = null], [string $password = null])

Constructor
  • Access: public

Overridden in child classes as:

Auth_RADIUS_CHAP_MD5::__construct()
Constructor

Overrides Auth_RADIUS::__construct() (Constructor)

Parameters:

string   $username   —  Username
string   $password   —  Password

[ Top ]

createRequest   [line 616]

bool createRequest( )

Creates an authentication request

Creates an authentication request. You MUST call this method before you can put any attribute

  • Return: true on success, false on error

Overrides Auth_RADIUS::createRequest() (Overwrite this.)
[ Top ]

open   [line 599]

bool open( )

Creates a RADIUS resource

Creates a RADIUS resource for authentication. This should be the first call before you make any other things with the library.

  • Return: true on success, false on error

Overrides Auth_RADIUS::open() (Overwrite this.)
[ Top ]

putAuthAttributes   [line 629]

void putAuthAttributes( )

Put authentication specific attributes

Overridden in child classes as:

Auth_RADIUS_CHAP_MD5::putAuthAttributes()
Put CHAP-MD5 specific attributes
Auth_RADIUS_MSCHAPv1::putAuthAttributes()
Put MS-CHAPv1 specific attributes
Auth_RADIUS_MSCHAPv2::putAuthAttributes()
Put MS-CHAPv2 specific attributes

Overrides Auth_RADIUS::putAuthAttributes() (Puts custom attributes.)
[ Top ]


Documentation generated on Mon, 11 Mar 2019 16:01:19 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.