code: public function getIdentity()
      {
          if ($this->username && $this->password) {
              return $this->username . ':' . $this->password;
          }
  
          return false;
      }
docs: Extracts the username and password for use in rendering a URL.
  
  @return string/boolean    Form of username:password or false.