reusee / filestore Goto Github PK
View Code? Open in Web Editor NEWfile backup tool
file backup tool
baidu/setup.go
中 AuthURL
可以考虑使用 grant_type=client_credentials
。
默认的是 Authorization Code 授权, grant_type=code
, 需要 code->token。
使用 Client Credentials 授权, grant_type=client_credentials
, 返回 json 包含 access_token。
这样 oauth.Exchange()
不能用了, 不过更新了 token 类就可以接着使用 oauth.Refresh()
。
但是这样得到的 access token scope 是 public 和 wise_adapt(?), req 加上 scope=netdisk
会报错。。
更新 Token 类才可以?
"采用本方式获取Access Token时只能申请跟用户数据无关的数据访问权限"...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.