Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: populate credentials.refresh_token if provided #881

Merged
merged 1 commit into from Jan 28, 2020
Merged

Conversation

bcoe
Copy link
Contributor

@bcoe bcoe commented Jan 28, 2020

If someone instantiates a UserRefreshClient directly, I couldn't see any reason to not set the refresh token, I confirmed that the client in turn refreshes on the first request.

fixes: #770

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 28, 2020
@bcoe bcoe merged commit 63c4637 into master Jan 28, 2020
@bcoe bcoe deleted the populate-refresh branch January 28, 2020 18:54
gcf-merge-on-green bot pushed a commit that referenced this pull request Feb 14, 2020
This PR was generated using Autosynth. 🌈

Commits in this repo since last synth:
c532b14 chore(deps): update dependency linkinator to v2 (#886)
a98e386 feat: support for verifying ES256 and retrieving IAP public keys (#887)
e671629 build: add GitHub actions config for unit tests (#888)
163e43d test: modernize mocha config (#884)
58e5029 chore: skip img.shields.io in docs test
13e8cfb chore(deps): update dependency @types/mocha to v7
634cf6a chore: release 5.9.2 (#882)
63c4637 fix: populate credentials.refresh_token if provided (#881)


<details><summary>Log from Synthtool</summary>

```
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py.
On branch autosynth
nothing to commit, working tree clean
HEAD detached at FETCH_HEAD
nothing to commit, working tree clean
.eslintignore
.eslintrc.yml
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/release-please.yml
.github/workflows/ci.yaml
.jsdoc.js
.kokoro/common.cfg
.kokoro/continuous/node10/common.cfg
.kokoro/continuous/node10/docs.cfg
.kokoro/continuous/node10/lint.cfg
.kokoro/continuous/node10/samples-test.cfg
.kokoro/continuous/node10/system-test.cfg
.kokoro/continuous/node10/test.cfg
.kokoro/continuous/node12/common.cfg
.kokoro/continuous/node12/test.cfg
.kokoro/continuous/node8/common.cfg
.kokoro/continuous/node8/test.cfg
.kokoro/docs.sh
.kokoro/lint.sh
.kokoro/presubmit/node10/common.cfg
.kokoro/presubmit/node10/docs.cfg
.kokoro/presubmit/node10/lint.cfg
.kokoro/presubmit/node10/samples-test.cfg
.kokoro/presubmit/node10/system-test.cfg
.kokoro/presubmit/node10/test.cfg
.kokoro/presubmit/node12/common.cfg
.kokoro/presubmit/node12/test.cfg
.kokoro/presubmit/node8/common.cfg
.kokoro/presubmit/node8/test.cfg
.kokoro/presubmit/windows/common.cfg
.kokoro/presubmit/windows/test.cfg
.kokoro/publish.sh
.kokoro/release/docs.cfg
.kokoro/release/docs.sh
.kokoro/release/publish.cfg
.kokoro/samples-test.sh
.kokoro/system-test.sh
.kokoro/test.bat
.kokoro/test.sh
.kokoro/trampoline.sh
.nycrc
.prettierignore
.prettierrc
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
codecov.yaml
renovate.json
samples/README.md
synthtool > Wrote metadata to synth.metadata.

```
</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UserRefreshClient constructor should set credentials.refresh_token
3 participants