如何将 OAuth2.0 令牌与 Google 翻译结合使用

bum*_*kin 5 api oauth google-api google-translate

根据 Google Translate API 文档https://cloud.google.com/translate/v2/using_rest,您可以使用 OAuth 2.0 或 API 密钥进行身份验证。

我见过的所有在线示例都只是提供了 API 密钥。

您知道如何使用 OAuth 2.0 访问令牌运行 Google Translate API 调用吗?