|
|
1
1
存储访问令牌应该不够。访问令牌仅在60分钟内有效。 您需要存储刷新令牌,这正是库为您所做的- https://developers.google.com/api-client-library/dotnet/guide/aaa_oauth#user-credentials 更新: 看看这个线程: .NET Google api 1.7 beta authenticating with refresh token 。这是如何重新使用刷新令牌的问题(如果您已经将其存储在某个位置,并且不希望您的用户反复访问授权页面)。 |
|
|
Bassebus · 通过API的Google日历提醒不起作用 11 年前 |