Phirehose::getAuthorizationHeader PHP Метод

getAuthorizationHeader() защищенный Метод

protected getAuthorizationHeader ( $url, $requestParams )
    protected function getAuthorizationHeader($url, $requestParams)
    {
        throw new Exception("Basic auth no longer works with Twitter. You must derive from OauthPhirehose, not directly from the Phirehose class.");
        $authCredentials = base64_encode($this->username . ':' . $this->password);
        return "Basic: " . $authCredentials;
    }