original_string: protected function getAuthHeaderValue()
      {
          $value = "";
          if (isset($this->credentials['username']) && isset($this->credentials['password'])){
              $value = $this->credentials['username'].":".$this->credentials['password'];
              $value = base64_encode($value);
          }
          return static::$_AUTH_TYPE." ".$value;
      }
code: protected function getAuthHeaderValue()
      {
          $value = "";
          if (isset($this->credentials['username']) && isset($this->credentials['password'])){
              $value = $this->credentials['username'].":".$this->credentials['password'];
              $value = base64_encode($value);
          }
          return static::$_AUTH_TYPE." ".$value;
      }
code_tokens: protected function getAuthHeaderValue ( ) { $ value = "" ; if ( isset ( $ this -> credentials [ 'username' ] ) && isset ( $ this -> credentials [ 'password' ] ) ) { $ value = $ this -> credentials [ 'username' ] . ":" . $ this -> credentials [ 'password' ] ; $ value = base64_encode ( $ value ) ; } return static :: $ _AUTH_TYPE . " " . $ value ; }
docstring: Parse the Credentials or Token to build out the Auth Header Value
  @return string
docstring_tokens: Parse the Credentials or Token to build out the Auth Header Value