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.
我正在尝试找到一种将 DropNet 与生成的访问令牌一起使用的方法,但找不到解决方案。以下代码引发异常并显示“未找到访问令牌”。
var client = new DropNetClient("App Key", "Secret"); client.UserLogin = new UserLogin { Token = "Generated Access Token" }; client.GetFile(...);
有什么想法吗 ?
解决了这个问题。我正在使用仅支持 OAuth1 授权的旧版本库,它不支持使用生成的访问令牌进行授权。此外,旧版本的库没有从 OAuth1 切换到 OAuth2 的 API