Lines Matching refs:service
36 public function retrieveAccessToken($service) argument
38 if ($this->hasAccessToken($service)) {
43 return $tokens[$service];
52 public function storeAccessToken($service, TokenInterface $token) argument
61 $tokens[$service] = $token;
73 public function hasAccessToken($service) argument
79 && isset($tokens[$service])
80 && $tokens[$service] instanceof TokenInterface;
86 public function clearToken($service) argument
91 if (is_array($tokens) && array_key_exists($service, $tokens)) {
92 unset($tokens[$service]);
116 public function retrieveAuthorizationState($service) argument
118 if ($this->hasAuthorizationState($service)) {
123 return $states[$service];
132 public function storeAuthorizationState($service, $state) argument
141 $states[$service] = $state;
153 public function hasAuthorizationState($service) argument
159 && isset($states[$service])
160 && null !== $states[$service];
166 public function clearAuthorizationState($service) argument
171 if (is_array($states) && array_key_exists($service, $states)) {
172 unset($states[$service]);