优步 server_token

Uber server_token

Uber server_token 会像 access_token 一样过期吗?

Note: Access tokens are valid for 30 days. The expiration time is specified in seconds in the ‘expires_in’ key of the token payload.

找不到关于 server_token 的任何文档。 TIA

来自官方指南Uber Authentication

    {
    "access_token": "xxx",
    "token_type": "Bearer",
    "expires_in": 2592000,
    "refresh_token": "xxx",
    "scope": "profile history"
  }

The access_token is good for a limited period of time described by expires_in seconds. The refresh_token does not expire and can be used to obtain a new access_token at any time given that the calling application is still authorized to access the API on behalf of this user.

不,server_token 不会过期。唯一可以更改它的方法是在您的仪表板中生成一个新的。