public function getAuthHeader() { return $this->auth->getTokenType() . ' ' . $this->auth->getAccessToken(); }
protected function ensureAuthentication() { if (!$this->_auth->accessTokenValid()) { $this->refresh(); } }