Skip to content

Commit

Permalink
Merge pull request #3 from yash30201/datastore-add-credentials-wrappe…
Browse files Browse the repository at this point in the history
…r-support
  • Loading branch information
yash30201 authored Mar 26, 2024
2 parents 5485f36 + 6a8eee1 commit 1f14746
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 1f14746

Please sign in to comment.