Skip to content

fix(connection) changed token expiration calculation - issue #212#230

Closed
o-klp wants to merge 1 commit intogoogleapis:masterfrom
o-klp:master
Closed

fix(connection) changed token expiration calculation - issue #212#230
o-klp wants to merge 1 commit intogoogleapis:masterfrom
o-klp:master

Conversation

@o-klp
Copy link

@o-klp o-klp commented Sep 19, 2014

body has to property token_expires
Changed to expires_in when calculating token expiration time

screen shot 2014-09-18 at 9 21 33 pm

closes issue #212
https://github.com/GoogleCloudPlatform/gcloud-node/issues
screen shot 2014-09-18 at 9 21 01 pm

@ryanseys
Copy link
Contributor

Fixed in #213 already.

@o-klp
Copy link
Author

o-klp commented Sep 19, 2014

Ah, cool. Thanks

@ryanseys
Copy link
Contributor

Thanks! 😄

@stephenplusplus
Copy link
Contributor

expires_in is the remaining seconds until the token expires, so it has to be added on to the current time after first being converted to MS. Since we already have the fix in the other PR, I've closed this one. Thanks for sending this in, @kayellpeee!

sofisl pushed a commit that referenced this pull request Oct 12, 2022
* updated CHANGELOG.md [ci skip]

* updated package.json [ci skip]

* updated samples/package.json [ci skip]
sofisl pushed a commit that referenced this pull request Oct 12, 2022
* updated CHANGELOG.md

* updated package.json

* updated samples/package.json
sofisl pushed a commit that referenced this pull request Oct 13, 2022
* updated CHANGELOG.md [ci skip]

* updated package.json [ci skip]

* updated samples/package.json [ci skip]
sofisl pushed a commit that referenced this pull request Nov 10, 2022
sofisl pushed a commit that referenced this pull request Nov 11, 2022
* fix(docs): reference docs should link to section of googleapis.dev with API reference

* fix(docs): make anchors work in jsdoc
sofisl pushed a commit that referenced this pull request Nov 11, 2022
sofisl pushed a commit that referenced this pull request Nov 11, 2022
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@types/sinon](https://togithub.com/DefinitelyTyped/DefinitelyTyped) | devDependencies | major | [`^7.5.2` -> `^9.0.0`](https://renovatebot.com/diffs/npm/@types%2fsinon/7.5.2/9.0.0) |

---

### Renovate configuration

:date: **Schedule**: "after 9am and before 3pm" (UTC).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/nodejs-scheduler).
sofisl pushed a commit that referenced this pull request Nov 18, 2022
This PR includes changes from googleapis/gapic-generator-typescript#317
that will move the asynchronous initialization and authentication from the client constructor
to an `initialize()` method. This method will be automatically called when the first RPC call
is performed.

The client library usage has not changed, there is no need to update any code.

If you want to make sure the client is authenticated _before_ the first RPC call, you can do
```js
await client.initialize();
```
manually before calling any client method.
sofisl pushed a commit that referenced this pull request Jan 10, 2023
sofisl pushed a commit that referenced this pull request Jan 26, 2023
🤖 I have created a release \*beep\* \*boop\*
---
## [1.13.0](https://www.github.com/googleapis/nodejs-ai-platform/compare/v1.12.0...v1.13.0) (2021-11-11)


### Features

* Adds support for `google.protobuf.Value` pipeline parameters in the `parameter_values` field ([#218](https://www.github.com/googleapis/nodejs-ai-platform/issues/218)) ([d05a598](https://www.github.com/googleapis/nodejs-ai-platform/commit/d05a598d095ea89cb6a0f385c2f82e9a8224b21f))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
miguelvelezsa pushed a commit that referenced this pull request Jul 23, 2025
miguelvelezsa pushed a commit that referenced this pull request Sep 17, 2025
miguelvelezsa pushed a commit that referenced this pull request Jan 14, 2026
miguelvelezsa pushed a commit that referenced this pull request Jan 21, 2026
sofisl pushed a commit that referenced this pull request Feb 3, 2026
* Release v2.0.0

* update CHANGELOG.md to include latest commits
sofisl pushed a commit that referenced this pull request Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants