/** * Authenticate a user via the id * * @param mixed $id * @return bool */ public function byId($id) { try { return $this->auth->onceUsingId($id); } catch (Exception $e) { return false; } }
/** * Authenticate a user via the id. * * @param mixed $id * @return bool */ public function byId($id) { return $this->auth->onceUsingId($id); }