是否可以使用 Google 日历 API 对服务器进行身份验证?

Is it possible to authenticate server to server with Google Calendar API?

所以我在 Authorizing Requests to the Google Calendar API 页面上阅读了 Google 人写的以下内容。

Your application must use OAuth 2.0 to authorize requests. No other authorization protocols are supported. If your application uses Google Sign-In, some aspects of authorization are handled for you.

我对 OAuth 2.0 的了解有限,所以我不确定这是否意味着我无法为用户获取一次性授权令牌?

我正在构建一个应用程序,它需要根据其他内容在后台为用户添加 CRUD 事件。所以我不能让用户一遍又一遍地进行身份验证。这里有办法吗?

如果没有,是否有 Google 日历替代品具有可靠的 API 我可以使用?

当用户验证您的应用程序时,您将获得一个访问令牌(有效期一小时)和一个刷新令牌。您应该保存刷新令牌,当您需要访问用户数据时,您可以获取刷新令牌并请求 Google 给您一个新的访问令牌。它是使您可以访问该帐户的访问令牌。

我写了一个教程,试图解释 Oauth2 如何设置它以及它是如何工作的。 Google Developer console Oauth2