-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support getting request authorization from a signature server #49
Comments
implemented in commits ce9e3f2...6067247 |
sign() {
} 我的签名服务器是有token校验的,sdk里面也没放开axios设置header或者拦截的地方呀 |
Hi, 以 qingstor-sdk-js/src/qingstor/bucket.js Line 2079 in 98ec43f
来构造出一个 getObjectRequest 对象,然后调用 qingstor-sdk-js/src/request.js Lines 89 to 96 in 98ec43f
或者 qingstor-sdk-js/src/request.js Lines 84 to 87 in 98ec43f
来应用签名 |
你发的这个 应该是拿到签名之后的一些操作吧。 我看源码里面只是拿在配置文件里面设置的signature_server签名服务器地址,然后内部直接调axios的post把operation里面的数据发到签名服务器了,没有开放一些口子,用于在请求时设置一些header或者token的地方,我是前端新手,不知道这么说能讲明白吗 |
可以加我微信咱们聊聊,MSen90 |
我大概明白你的意思了,我请 SDK 的维护者来看一下这个问题怎么解决。 ping @aprilyang for a look. |
@senwa 你这边的需求是调用签名服务器允许传递自定义参数吗? |
No description provided.
The text was updated successfully, but these errors were encountered: