Skip to content

Commit

Permalink
Add credentials wrapper support in DatastoreClient
Browse files Browse the repository at this point in the history
  • Loading branch information
yash30201 committed Mar 26, 2024
1 parent 7215b2e commit 237531f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Datastore/src/DatastoreClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,11 @@ public function __construct(array $config = [])
],
];
$config = $this->buildClientOptions($config);
$config['credentials'] = $this->createCredentialsWrapper(
$config['credentials'],
$config['credentialsConfig'],
$config['universeDomain'],
);

$config = $this->configureAuthentication($config);
$this->connection = $connectionType === 'grpc'
Expand Down

0 comments on commit 237531f

Please sign in to comment.