Lines Matching refs:oauth

3 namespace dokuwiki\plugin\oauth;
59 $hlp = plugin_load('helper', 'oauth');
113 $oauth = $this->getOAuthService();
114 $service = $oauth->service();
116 $oldStorage = $oauth->getStorage();
125 // fixme invalidate current oauth object? reinitialize it?
141 $oauth = $this->getOAuthService();
143 if (!$oauth->getStorage()->hasAccessToken($oauth->service())) {
148 $token = $oauth->getStorage()->retrieveAccessToken($oauth->service());
158 $token = $oauth->refreshAccessToken($token);
163 $oauth->getStorage()->storeAccessToken($oauth->service(), $token);
180 $oauth = $this->getOAuthService();
193 $oauth->getStorage()->storeAuthorizationState($oauth->service(), $parameters['state']);
196 if (is_a($oauth, Abstract1Service::class)) { /* oAuth1 handling */
198 $token = $oauth->requestRequestToken();
201 $url = $oauth->getAuthorizationUri($parameters);
216 * oauth data at all. This can probably be silently ignored.
226 $oauth = $this->getOAuthService();
228 if (is_a($oauth, Abstract2Service::class)) {
231 $accessToken = $oauth->requestAccessToken($INPUT->get->str('code'), $state);
235 $token = $oauth->getStorage()->retrieveAccessToken($this->getServiceID());
236 $accessToken = $oauth->requestAccessToken(
290 * Use the request() method of the oauth object to talk to the API
325 * Defaults to the plugin name (without oauth prefix). This has to match the Service class name in
326 * the appropriate lusitantian oauth Service namespace
333 if (substr($name, 0, 5) === 'oauth') {
375 * The oauth key
385 * The oauth secret