public function getIdentity()
    {
        if ($this->username && $this->password) {
            return $this->username . ':' . $this->password;
        }

        return false;
    }
public function getIdentity()
    {
        if ($this->username && $this->password) {
            return $this->username . ':' . $this->password;
        }

        return false;
    }
Extracts the username and password for use in rendering a URL.

@return string/boolean    Form of username:password or false.