Lines Matching refs:creds
96 $creds = self::getCredentials($scope, $httpHandler, $cacheConfig, $cache);
99 return new AuthTokenSubscriber($creds, $httpHandler);
127 $creds = self::getCredentials($scope, $httpHandler, $cacheConfig, $cache, $quotaProject);
129 return new AuthTokenMiddleware($creds, $httpHandler);
159 $creds = null;
177 $creds = CredentialsLoader::makeCredentials(
183 $creds = new AppIdentityCredentials($anyScope);
185 $creds = new GCECredentials(null, $anyScope, null, $quotaProject);
188 if (is_null($creds)) {
192 $creds = new FetchAuthTokenCache($creds, $cacheConfig, $cache);
194 return $creds;
219 $creds = self::getIdTokenCredentials($targetAudience, $httpHandler, $cacheConfig, $cache);
221 return new AuthTokenMiddleware($creds, $httpHandler);
246 $creds = self::getIdTokenCredentials($targetAudience, $httpHandler, $cacheConfig, $cache);
248 return new ProxyAuthTokenMiddleware($creds, $httpHandler);
271 $creds = null;
297 $creds = new ServiceAccountCredentials(null, $jsonKey, null, $targetAudience);
299 $creds = new GCECredentials(null, null, $targetAudience);
302 if (is_null($creds)) {
306 $creds = new FetchAuthTokenCache($creds, $cacheConfig, $cache);
308 return $creds;