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