Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 Google-drive API 中有刷新令牌和访问令牌。但我不想每次用户使用我的 API 时都请求新的访问令牌,因为我存储了我的刷新令牌。如何从刷新令牌中获取新的访问令牌
你应该试试这个
authCode = "Your Refresh Code"; IAuthorizationState = client.ProcessUserAuthorization(authCode, state);