-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: support bearer token credentials request #149
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #149 +/- ##
==========================================
+ Coverage 43.23% 44.25% +1.02%
==========================================
Files 5 5
Lines 2984 3071 +87
Branches 104 107 +3
==========================================
+ Hits 1290 1359 +69
- Misses 1549 1563 +14
- Partials 145 149 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
dbffe95
to
cb9226c
Compare
main.tea
Outdated
var bearerToken = getBearerToken(); | ||
__request.query.BearerToken = bearerToken; | ||
__request.query.SignatureType = 'BEARERTOKEN'; | ||
__request.headers.authorization = `bearer ${bearerToken}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bearer 首字母大写不?
__request.query.SignatureType = 'BEARERTOKEN'; | ||
__request.headers.authorization = `bearer ${bearerToken}`; | ||
} else { | ||
var accessKeyId = getAccessKeyId(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不换成 getCredentialsModel 么
cb9226c
to
7618a9e
Compare
No description provided.