Lines Matching refs:service
57 public function retrieveAccessToken($service) argument
59 if ($this->hasAccessToken($service)) {
60 return unserialize($_SESSION[$this->sessionVariableName][$service]);
69 public function storeAccessToken($service, TokenInterface $token) argument
76 $_SESSION[$this->sessionVariableName][$service] = $serializedToken;
79 $service => $serializedToken,
90 public function hasAccessToken($service) argument
92 …turn isset($_SESSION[$this->sessionVariableName], $_SESSION[$this->sessionVariableName][$service]);
98 public function clearToken($service) argument
100 if (array_key_exists($service, $_SESSION[$this->sessionVariableName])) {
101 unset($_SESSION[$this->sessionVariableName][$service]);
122 public function storeAuthorizationState($service, $state) argument
127 $_SESSION[$this->stateVariableName][$service] = $state;
130 $service => $state,
141 public function hasAuthorizationState($service) argument
143 … return isset($_SESSION[$this->stateVariableName], $_SESSION[$this->stateVariableName][$service]);
149 public function retrieveAuthorizationState($service) argument
151 if ($this->hasAuthorizationState($service)) {
152 return $_SESSION[$this->stateVariableName][$service];
161 public function clearAuthorizationState($service) argument
163 if (array_key_exists($service, $_SESSION[$this->stateVariableName])) {
164 unset($_SESSION[$this->stateVariableName][$service]);