Google api 未授权Google API

Google api 未授权Google API,google-api,Google Api,在我的C#桌面应用程序中,我通过以下方式授权使用谷歌API: credential = GoogleWebAuthorizationBroker.AuthorizeAsync(GoogleClientSecrets.Load(stream).Secrets, Scopes, "user", CancellationToken.None); 是否有API可以对其进行授权?此授权仅持续一个小时左右,之后生成的访问令牌将过期

在我的C#桌面应用程序中,我通过以下方式授权使用谷歌API:

credential = GoogleWebAuthorizationBroker.AuthorizeAsync(GoogleClientSecrets.Load(stream).Secrets, Scopes, "user", CancellationToken.None);

是否有API可以对其进行授权?

此授权仅持续一个小时左右,之后生成的访问令牌将过期