Git Product home page Git Product logo

filestore's People

Contributors

reusee avatar

Stargazers

 avatar Ria avatar Chris Lu avatar lemonhall avatar

Watchers

 avatar  avatar

filestore's Issues

认证方式可以修改下

baidu/setup.goAuthURL 可以考虑使用 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时只能申请跟用户数据无关的数据访问权限"...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.