#security #entry-point #rocket #authorization #applications #check

rocket_airlock

TL;DR: Authentication and Authorization for rocket applications. The security airlock is the entry point to a rocket. Everything from the outside environment that wants to enter a rocket, needs to go through its hatches and pass all their security checks.

4 releases (2 breaking)

0.4.0 Jul 29, 2024
0.3.0 Jul 25, 2024
0.3.0-rc.1 Jul 16, 2021
0.0.0 Jul 30, 2020

#438 in Authentication

Download history 177/week @ 2024-07-23 67/week @ 2024-07-30 16/week @ 2024-09-10 8/week @ 2024-09-17 8/week @ 2024-09-24 14/week @ 2024-10-01

145 downloads per month

MIT/Apache

11KB
133 lines

rocket_airlock

Compatible with: Rocket v0.5.1

TL;DR: Authentication and Authorization for Rocket applications.

The security airlock is the entry point to a rocket. Everything from the outside environment that wants to enter a rocket, needs to go through its hatches and pass all their security checks.

The architecture of rocket_airlock was heavily inspired by Jeb Rosen's rocket_oauth2 crate.

Examples

Examples can be found in the examples folder. On your terminal, just navigate into the examples folder, e.g. cd examples/simple, and run cargo run in it.

License

As the rest of the Rocket ecosystem, rocket_airlock is licensed under either of the following, at your option:

Dependencies

~17–47MB
~811K SLoC