mirror of
https://github.com/actix/actix-extras.git
synced 2025-02-20 09:40:34 +01:00
27 lines
1.2 KiB
Markdown
27 lines
1.2 KiB
Markdown
# actix-web-httpauth
|
|
|
|
[](https://crates.io/crates/actix-web-httpauth)
|
|
[](https://docs.rs/actix-web-httpauth)
|
|
[](https://deps.rs/crate/actix-web-httpauth/0.3.0)
|
|

|
|

|
|
|
|
HTTP authentication schemes for [actix-web](https://github.com/actix/actix-web) framework.
|
|
|
|
Provides:
|
|
* typed [Authorization] and [WWW-Authenticate] headers
|
|
* [extractors] for an [Authorization] header
|
|
* [middleware] for easier authorization checking
|
|
|
|
All supported schemas are actix [Extractors](https://docs.rs/actix-web/1.0.0/actix_web/trait.FromRequest.html),
|
|
and can be used both in the middlewares and request handlers.
|
|
|
|
## Supported schemes
|
|
|
|
* [Basic](https://tools.ietf.org/html/rfc7617)
|
|
* [Bearer](https://tools.ietf.org/html/rfc6750)
|
|
|
|
## Donations
|
|
|
|
If you appreciate my work and want to support me, you can do it [here](https://svartalf.info/donate/).
|