Skip to content

Disable authentication when using service emulator#780

Merged
jdpedrie merged 2 commits intogoogleapis:masterfrom
jdpedrie:emulator-anonymous-access
Dec 12, 2017
Merged

Disable authentication when using service emulator#780
jdpedrie merged 2 commits intogoogleapis:masterfrom
jdpedrie:emulator-anonymous-access

Conversation

@jdpedrie
Copy link
Copy Markdown
Contributor

@jdpedrie jdpedrie commented Dec 7, 2017

Closes #726.

@jdpedrie jdpedrie requested a review from dwsupplee December 7, 2017 22:33
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 7, 2017
@jdpedrie jdpedrie added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Dec 7, 2017
@jdpedrie jdpedrie changed the title Disable authentication when using service emulator [WIP] Disable authentication when using service emulator Dec 7, 2017
@jdpedrie jdpedrie removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Dec 8, 2017
@jdpedrie jdpedrie changed the title [WIP] Disable authentication when using service emulator Disable authentication when using service emulator Dec 8, 2017
Comment thread src/Datastore/DatastoreClient.php Outdated
'scopes' => [self::FULL_CONTROL_SCOPE],
'projectIdRequired' => true
'projectIdRequired' => true,
'hasEmulator' => (bool) getenv('DATASTORE_EMULATOR_HOST')

This comment was marked as spam.

Comment thread src/Datastore/Connection/Rest.php Outdated
$baseUri = $this->getEmulatorBaseUri(self::BASE_URI, $emulatorHost);
$baseUri = self::BASE_URI;
if ($this->emulatorEnabled($emulatorHost)) {
$baseUri = $this->emulatorBaseUri($emulatorHost);

This comment was marked as spam.

This comment was marked as spam.

@jdpedrie jdpedrie merged commit 238c840 into googleapis:master Dec 12, 2017
@jdpedrie jdpedrie deleted the emulator-anonymous-access branch December 12, 2017 14:44
@jdpedrie jdpedrie mentioned this pull request Dec 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: core cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants