ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Public Member Functions | |
Auth_RADIUS_PAP ($username=null, $password=null) | |
Constructor. More... | |
open () | |
Creates a RADIUS resource. More... | |
createRequest () | |
Creates an authentication request. More... | |
putAuthAttributes () | |
Put authentication specific attributes. More... | |
![]() | |
Auth_RADIUS () | |
Constructor. More... | |
addServer ($servername='localhost', $port=0, $sharedSecret='testing123', $timeout=3, $maxtries=3) | |
Adds a RADIUS server to the list of servers for requests. More... | |
getError () | |
Returns an error message, if an error occurred. More... | |
setConfigfile ($file) | |
Sets the configuration-file. More... | |
putAttribute ($attrib, $value, $type=null) | |
Puts an attribute. More... | |
putVendorAttribute ($vendor, $attrib, $value, $type=null) | |
Puts a vendor-specific attribute. More... | |
dumpAttributes () | |
Prints known attributes received from the server. More... | |
open () | |
Overwrite this. More... | |
createRequest () | |
Overwrite this. More... | |
putStandardAttributes () | |
Puts standard attributes. More... | |
putAuthAttributes () | |
Puts custom attributes. More... | |
putServer ($servername, $port=0, $sharedsecret='testing123', $timeout=3, $maxtries=3) | |
Configures the radius library. More... | |
putConfigfile ($file) | |
Configures the radius library via external configurationfile. More... | |
start () | |
Initiates a RADIUS request. More... | |
send () | |
Sends a prepared RADIUS request and waits for a response. More... | |
getAttributes () | |
Reads all received attributes after sending the request. More... | |
close () | |
Frees resources. More... | |
![]() | |
PEAR ($error_class=null) | |
Constructor. More... | |
_PEAR () | |
Destructor (the emulated type of...). More... | |
& | getStaticProperty ($class, $var) |
If you have a class that's mostly/entirely static, and you need static properties, you can use this method to simulate them. More... | |
registerShutdownFunc ($func, $args=array()) | |
Use this function to register a shutdown method for static classes. More... | |
isError ($data, $code=null) | |
Tell whether a value is a PEAR error. More... | |
setErrorHandling ($mode=null, $options=null) | |
Sets how errors generated by this object should be handled. More... | |
expectError ($code=' *') | |
This method is used to tell which errors you expect to get. More... | |
popExpect () | |
This method pops one element off the expected error codes stack. More... | |
_checkDelExpect ($error_code) | |
This method checks unsets an error code if available. More... | |
delExpect ($error_code) | |
This method deletes all occurences of the specified element from the expected error codes stack. More... | |
& | raiseError ($message=null, $code=null, $mode=null, $options=null, $userinfo=null, $error_class=null, $skipmsg=false) |
This method is a wrapper that returns an instance of the configured error class with this object's default error handling applied. More... | |
& | throwError ($message=null, $code=null, $userinfo=null) |
Simpler form of raiseError with fewer options. More... | |
staticPushErrorHandling ($mode, $options=null) | |
staticPopErrorHandling () | |
pushErrorHandling ($mode, $options=null) | |
Push a new error handler on top of the error handler options stack. More... | |
popErrorHandling () | |
Pop the last error handler used. More... | |
loadExtension ($ext) | |
OS independant PHP extension load. More... | |
Additional Inherited Members | |
![]() | |
$_servers = array() | |
$_configfile = null | |
$res = null | |
$username = null | |
$password = null | |
$attributes = array() | |
$rawAttributes = array() | |
$rawVendorAttributes = array() | |
$useStandardAttributes = true | |
![]() | |
$_debug = false | |
$_default_error_mode = null | |
$_default_error_options = null | |
$_default_error_handler = '' | |
$_error_class = 'PEAR_Error' | |
$_expected_errors = array() | |
Definition at line 568 of file RADIUS.php.
Auth_RADIUS_PAP::Auth_RADIUS_PAP | ( | $username = null , |
|
$password = null |
|||
) |
Constructor.
string | $username | Username |
string | $password | Password |
Definition at line 578 of file RADIUS.php.
References Auth_RADIUS\$password, Auth_RADIUS\$username, and Auth_RADIUS\Auth_RADIUS().
Auth_RADIUS_PAP::createRequest | ( | ) |
Creates an authentication request.
Creates an authentication request. You MUST call this method before you can put any attribute
Definition at line 610 of file RADIUS.php.
Auth_RADIUS_PAP::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.
Definition at line 593 of file RADIUS.php.
Auth_RADIUS_PAP::putAuthAttributes | ( | ) |
Put authentication specific attributes.
Definition at line 623 of file RADIUS.php.
References Auth_RADIUS\putAttribute().