@bu-sail/cargo-middleware
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Cargo Middleware

The Cargo Middleware is an AWS S3 Client middleware which takes place after the AWS signing portion to add the signature from the Cargo Server. For each request, the middleware will capture the request, authenticate the JWT, check for authorization to access the given resource, then provide the AWS signature and body hash.

Using the Middleware

For example usage of the middleware see samples/src/main.ts which shows a working example. Add in your Cargo Server endpoint and a working JWT to try the sample.

Readme

Keywords

none

Package Sidebar

Install

npm i @bu-sail/cargo-middleware

Weekly Downloads

1

Version

0.0.1

License

ISC

Unpacked Size

106 kB

Total Files

12

Last publish

Collaborators

  • gregfrasco
  • bu-sail-admin