Lines Matching refs:oAuth
23 public $oAuth = null; variable in OAuth\\Plugin\\AbstractAdapter
47 $this->oAuth = $serviceFactory->createService(
61 if(is_null($this->oAuth)) {
76 if(is_a($this->oAuth, 'OAuth\OAuth2\Service\AbstractService')) { /* oAuth2 handling */
78 $url = $this->oAuth->getAuthorizationUri();
82 $token = $this->oAuth->requestRequestToken();
84 … $url = $this->oAuth->getAuthorizationUri(array('oauth_token' => $token->getRequestToken()));
96 $this->oAuth->getStorage()->clearToken($this->oAuth->service());
97 $this->oAuth->getStorage()->clearAuthorizationState($this->oAuth->service());
137 … $this->oAuth->requestAccessToken($INPUT->get->str('code'), $INPUT->get->str('state', null));
146 $this->oAuth->getStorage()->clearAuthorizationState($this->oAuth->service());
159 …if ($this->oAuth->getStorage()->hasAccessToken($this->oAuth->service()) && $this->oAuth->getStorag…
180 if ($this->oAuth->getStorage()->hasAccessToken($this->oAuth->service())) {
181 …$this->oAuth->refreshAccessToken($this->oAuth->getStorage()->retrieveAccessToken($this->oAuth->ser…