app/RancherAccess/RancherService.php
protected function addAuthHeader(&$headers) {
		$user = $this->account->getKey();
		$password = $this->account->getSecret();

		$headers['Authorization'] = 'Basic ' . base64_encode("$user:$password");
	}
protected function addAuthHeader(&$headers) {
		$user = $this->account->getKey();
		$password = $this->account->getSecret();

		$headers['Authorization'] = 'Basic ' . base64_encode("$user:$password");
	}
protected function addAuthHeader ( & $ headers ) { $ user = $ this -> account -> getKey ( ) ; $ password = $ this -> account -> getSecret ( ) ; $ headers [ 'Authorization' ] = 'Basic ' . base64_encode ( "$user:$password" ) ; }
Helper function to add the basic auth header required to access the api to the array of headers provided

@param $headers
Helper function to add the basic auth header required to access the api to the array of headers provided