Skip to content
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
feature/awsAuth
Open

[WIP]Feature/awsAuth - Adds aws authorizer methods#8
someshkoli wants to merge 26 commits intodevelopfrom
feature/awsAuth

Conversation

@someshkoli
Copy link
Contributor

Adds aws authorizer method to auth and calls required module when input auth type is awsv4

  • uses aws4 library for generating authorization data
  • does not support request with form data
  • adds getAuthConfig util method to auth utils

 - 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
@someshkoli someshkoli changed the base branch from develop to feature/auth July 29, 2020 00:53
 - 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
@someshkoli someshkoli changed the title Feature/awsAuth - Adds aws authorizer methods [WIP]Feature/awsAuth - Adds aws authorizer methods Aug 21, 2020
@umeshp7 umeshp7 changed the base branch from feature/auth to develop November 23, 2020 04:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant