Gets the Lrs associated with the given username and password.
static public getLrsFromUserPass ( String $username, String $password ) : Locker\Helpers\Lrs | ||
$username | String | |
$password | String | |
return | Locker\Helpers\Lrs |
/** * Gets the current LRS from the Authorization header. * @return \Lrs */ static function getLrsFromAuth() { list($username, $password) = Helpers::getUserPassFromAuth(); return Helpers::getLrsFromUserPass($username, $password); }