From bbea78dbbdf145656105fb1b749fa12a6d5c8c43 Mon Sep 17 00:00:00 2001 From: Dave Supplee Date: Tue, 3 Apr 2018 11:14:25 -0400 Subject: [PATCH] Include auth cache in client documentation --- Spanner/src/SpannerClient.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Spanner/src/SpannerClient.php b/Spanner/src/SpannerClient.php index 1eace127fb1d..0fb7e88afacc 100644 --- a/Spanner/src/SpannerClient.php +++ b/Spanner/src/SpannerClient.php @@ -34,6 +34,7 @@ use Google\Cloud\Spanner\Connection\Grpc; use Google\Cloud\Spanner\Connection\LongRunningConnection; use Google\Cloud\Spanner\V1\SpannerClient as GapicSpannerClient; +use Psr\Cache\CacheItemPoolInterface; use Psr\Http\StreamInterface; /** @@ -100,6 +101,9 @@ class SpannerClient * * @type string $projectId The project ID from the Google Developer's * Console. + * @type CacheItemPoolInterface $authCache A cache for storing access + * tokens. **Defaults to** a simple in memory implementation. + * @type array $authCacheOptions Cache configuration options. * @type callable $authHttpHandler A handler used to deliver Psr7 * requests specifically for authentication. * @type FetchAuthTokenInterface $credentialsFetcher A credentials