src/Neutrino/Auth/Manager.php
public function attempt(array $credentials = [], $remember = false)
    {
        $user = $this->retrieveUserByCredentials($credentials);

        if (!empty($user)) {
            $this->login($user, $remember);

            return $user;
        }

        return null;
    }
public function attempt(array $credentials = [], $remember = false)
    {
        $user = $this->retrieveUserByCredentials($credentials);

        if (!empty($user)) {
            $this->login($user, $remember);

            return $user;
        }

        return null;
    }
authenticate user

@param array $credentials
@param bool  $remember

@return \Neutrino\Foundation\Auth\User