2018-05-20 12:59:41 +03:00
# actix-web-httpauth
2018-05-20 13:15:59 +03:00
2020-01-30 01:14:55 +00:00
[](https://crates.io/crates/actix-web-httpauth)
[](https://docs.rs/actix-web-httpauth)
[](https://deps.rs/crate/actix-web-httpauth/0.4.0)
2020-01-15 00:03:23 +09:00

2020-01-30 01:14:55 +00:00

[](https://gitter.im/actix/actix?utm_source=badge& utm_medium=badge& utm_campaign=pr-badge& utm_content=badge)
2018-05-20 13:15:59 +03:00
2020-01-30 01:14:55 +00:00
> HTTP authentication schemes for [actix-web](https://github.com/actix/actix-web) framework.
2018-05-20 22:10:48 +03:00
2019-06-05 18:52:47 +03:00
Provides:
2020-01-30 00:31:25 +00:00
* typed [Authorization] and [WWW-Authenticate] headers
2019-06-05 18:52:47 +03:00
* [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.
2018-05-20 22:10:48 +03:00
## Supported schemes
2018-05-20 22:15:59 +03:00
* [Basic ](https://tools.ietf.org/html/rfc7617 )
2018-05-30 16:43:39 +03:00
* [Bearer ](https://tools.ietf.org/html/rfc6750 )