Lines Matching refs:service
26 $service = $this->loadService($servicename);
27 $service->initOAuthService();
28 $service->login(); // redirects
59 // init service from session
62 $service = $this->loadService($logindata['servicename']);
63 $service->initOAuthService();
68 if (!$service->checkToken()) throw new \OAuth\Common\Exception\Exception("Invalid Token - Login failed");
69 $userdata = $service->getUser();
77 $service->upgradeStorage($storageId);
125 $service = $this->loadService($cookie['servicename']);
126 $service->initOAuthService($cookie['storageId']);
129 $service->refreshOutdatedToken();
132 $userdata = $service->getUser();
143 * Callback service's logout
153 $service = $this->loadService($cookie['servicename']);
154 $service->initOAuthService($cookie['storageId']);
155 $service->logout();
175 * Clean and validate the user data provided from the service
227 * @param string $servicename Auth service
243 // check if the user allowed access via this service
312 if ($srv === null) throw new Exception("No such service $servicename");