private function initializeCredentials()
    {
        $this->credentials = base64_encode(
            sprintf(
                '%s:%s',
                urlencode($this->configuration->getConsumerKey()),
                urlencode($this->configuration->getConsumerSecret())
            )
        );
    }
private function initializeCredentials()
    {
        $this->credentials = base64_encode(
            sprintf(
                '%s:%s',
                urlencode($this->configuration->getConsumerKey()),
                urlencode($this->configuration->getConsumerSecret())
            )
        );
    }
private function initializeCredentials ( ) { $ this -> credentials = base64_encode ( sprintf ( '%s:%s' , urlencode ( $ this -> configuration -> getConsumerKey ( ) ) , urlencode ( $ this -> configuration -> getConsumerSecret ( ) ) ) ) ; }
Initializes the bearer token credentials in the expected format

@see https://dev.twitter.com/docs/auth/application-only-auth

@return void
Initializes the bearer token credentials in the expected format