e107_plugins/alt_auth/radius_auth.php
Avoid too many return
statements within this method. Open
Open
return AUTH_SUCCESS;
Avoid too many return
statements within this method. Open
Open
return AUTH_SUCCESS; // Not interested in any attributes returned ATM, so done.
Avoid too many return
statements within this method. Open
Open
if ($connect_only) return AUTH_SUCCESS;
Found a return statement with a value in the implementation of the magic method \auth_login,4::__construct,
expected void return type Open
Open
function __construct()
- Exclude checks
array to string
conversion Open
Open
$text = "<br />Server: {$this->server} Stored secret: ".radius_server_secret($this->connection)." Port: {$this->port}";
- Exclude checks
Reference to undeclared constant \AUTH_NOCONNECT
Open
Open
return AUTH_NOCONNECT;
- Exclude checks
Reference to undeclared constant \RADIUS_ACCESS_ACCEPT
Open
Open
case RADIUS_ACCESS_ACCEPT : // Valid username/password
- Exclude checks
Reference to undeclared constant \AUTH_NORESOURCE
Open
Open
return AUTH_NORESOURCE;
- Exclude checks
Reference to undeclared constant \AUTH_NOCONNECT
Open
Open
return AUTH_NOCONNECT;
- Exclude checks
Reference to undeclared constant \AUTH_NOCONNECT
Open
Open
return AUTH_NOCONNECT;
- Exclude checks
Reference to undeclared constant \AUTH_SUCCESS
Open
Open
if ($connect_only) return AUTH_SUCCESS;
- Exclude checks
Reference to undeclared constant \AUTH_SUCCESS
Open
Open
return AUTH_SUCCESS; // Not interested in any attributes returned ATM, so done.
- Exclude checks
Reference to undeclared constant \RADIUS_USER_PASSWORD
Open
Open
|| !radius_put_attr($this->connection,RADIUS_USER_PASSWORD,$pass))
- Exclude checks
Reference to undeclared constant \AUTH_NOUSER
Open
Open
return AUTH_NOUSER;
- Exclude checks
Reference to undeclared constant \RADIUS_ACCESS_REQUEST
Open
Open
if (!radius_create_request($this->connection,RADIUS_ACCESS_REQUEST))
- Exclude checks
Reference to undeclared property \auth_login,4->copyAttribs
Open
Open
$this->copyAttribs = array();
- Exclude checks
Reference to undeclared constant \RADIUS_ACCESS_CHALLENGE
Open
Open
case RADIUS_ACCESS_CHALLENGE : // CHAP response required - not currently implemented
- Exclude checks
Reference to undeclared constant \AUTH_BADPASSWORD
Open
Open
if (trim($pass) == '') return AUTH_BADPASSWORD; // Pick up a blank password - always expect one
- Exclude checks
Reference to undeclared constant \AUTH_SUCCESS
Open
Open
return AUTH_SUCCESS;
- Exclude checks
Reference to undeclared constant \RADIUS_USER_NAME
Open
Open
if (!radius_put_attr($this->connection,RADIUS_USER_NAME,$uname)
- Exclude checks
Class \auth_login
defined at /code/e107_plugins/alt_auth/radius_auth.php:32
was previously defined as Class \auth_login
at /code/e107_plugins/alt_auth/e107db_auth.php:34
Open
Open
class auth_login extends alt_auth_base
- Exclude checks
Reference to undeclared constant \AUTH_NOUSER
Open
Open
return AUTH_NOUSER;
- Exclude checks
Reference to undeclared constant \AUTH_SUCCESS
Open
Open
return AUTH_SUCCESS;
- Exclude checks
Reference to undeclared constant \RADIUS_ACCESS_REJECT
Open
Open
case RADIUS_ACCESS_REJECT : // Specifically rejected
- Exclude checks
Parameter $newvals
has undeclared type \pointer
Open
Open
function login($uname, $pass, &$newvals, $connect_only = FALSE)
- Exclude checks