This repository was archived by the owner on May 11, 2023. It is now read-only.
[WIP]Feature/awsAuth - Adds aws authorizer methods#8
Open
someshkoli wants to merge 26 commits intodevelopfrom
Open
[WIP]Feature/awsAuth - Adds aws authorizer methods#8someshkoli wants to merge 26 commits intodevelopfrom
someshkoli wants to merge 26 commits intodevelopfrom
Conversation
- adds request {apikey,key,val,header}
- added test for apikey {key,val,header}
- adds all test cases {key,val,query,header}
- adds auth more methods to authRequests
- adds method to authorize basic authorizatioin requests - adds method to authorize bearer token authrization request
- adds test for bearer token auth - when bearer token is provided - when beaere token is not provided - adds test for basic auth - when username pass are given - when username is given - when pass is given - when nothing is given - adds requests for auth for all abouve cases
- md5 - sha256 - sha512 - tobase64 - objcopy
- adds auth header to input request - follows RFC 7616
- detached digest and hawk from auth.js - created new file for digest and hawk - path updates
- Adds auth param to all authorization methods - adds auth params to authorizer method - adds proper jsdocs for all methods related to auth
- fixes authorize method's param parsing - fixes apikey auth insertion point error (default => header)
- syntax imporovements to authorizing request calls - adds unknows error to errors
- changes authorize method call from authorize(request) > authrize(request, auth) - fixes authorizze method impor path
- adds random string method to hellper - adds time stamp method to helper
- removes digest.js - removes digest auth check, call and import from auth.js
- uses aws4 package to generate signature - added required query param / headers to request - adds check,import & call for aws auth - adds aws to package - adds getAuthConfig option to auth utils
- adds sessionToken related query param to request in awsAuth method - adds basic test for aws auth - adds auth_request for aws auth
…lection-code-generators into feature/awsAuth Pulls npm test fix from feature/auth - fixes linting issue
5f3b712 to
18c989e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds aws authorizer method to auth and calls required module when input auth type is awsv4