MoreAdminsBasicAuth::requireLogin
Require basic authentication. Will request a username and password if none is given.
Used by .
Signature
public function requireLogin(string
$realm,
[string|array
$permissionCode = NULL,
[boolean
$tryUsingSessionLogin = true]] )
Parameters
$realm
— string$permissionCode
— object- Optional
$tryUsingSessionLogin
— boolean- If true, then the method with authenticate against the
session log-in if those credentials are disabled.
Returns
- Member
- $member