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