Searched refs:tokenCallback (Results 1 – 6 of 6) sorted by relevance
50 private $tokenCallback; variable in Google\\Auth\\Middleware\\AuthTokenMiddleware57 * @param callable $tokenCallback (optional) function to be called when a new token is fetched.62 callable $tokenCallback = null argument66 $this->tokenCallback = $tokenCallback;126 if ($this->tokenCallback) {128 $this->tokenCallback,
50 private $tokenCallback; variable in Google\\Auth\\Middleware\\ProxyAuthTokenMiddleware57 * @param callable $tokenCallback (optional) function to be called when a new token is fetched.62 callable $tokenCallback = null argument66 $this->tokenCallback = $tokenCallback;126 if ($this->tokenCallback) {128 $this->tokenCallback,
32 callable $tokenCallback = null argument43 return $this->attachCredentialsCache($http, $credentials, $tokenCallback);49 callable $tokenCallback = null argument59 $tokenCallback
766 * @param callable $tokenCallback - function ($cacheKey, $accessToken)768 public function setTokenCallback(callable $tokenCallback) argument770 $this->config['token_callback'] = $tokenCallback;
375 $tokenCallback = function ($cacheKey, $accessToken) use ($logger) {378 $client->setTokenCallback($tokenCallback);