2018-05-20 11:59:41 +02:00
# actix-web-httpauth
2018-05-20 12:15:59 +02:00
2020-09-28 03:04:18 +02:00
> HTTP authentication schemes for [actix-web](https://github.com/actix/actix-web).
2020-01-30 02:14:55 +01:00
[![crates.io ](https://img.shields.io/crates/v/actix-web-httpauth )](https://crates.io/crates/actix-web-httpauth)
[![Documentation ](https://docs.rs/actix-web-httpauth/badge.svg )](https://docs.rs/actix-web-httpauth)
2020-09-28 03:04:18 +02:00
[![Dependency Status ](https://deps.rs/crate/actix-web-httpauth/0.5.0/status.svg )](https://deps.rs/crate/actix-web-httpauth/0.5.0)
2020-01-30 02:14:55 +01:00
![Apache 2.0 or MIT licensed ](https://img.shields.io/crates/l/actix-web-httpauth )
2020-09-28 03:04:18 +02:00
[![Join the chat at https://gitter.im/actix/actix-web ](https://badges.gitter.im/actix/actix-web.svg )](https://gitter.im/actix/actix-web?utm_source=badge& utm_medium=badge& utm_campaign=pr-badge& utm_content=badge)
## Features
- Typed [Authorization] and [WWW-Authenticate] headers
- [Extractors] for authorization headers
- [Middleware] for easier authorization checking
2018-05-20 12:15:59 +02:00
2020-09-28 03:04:18 +02:00
All supported schemas can be used in both middleware and request handlers.
2018-05-20 21:10:48 +02:00
2020-09-28 03:04:18 +02:00
## Supported Schemes
- [HTTP Basic ](https://tools.ietf.org/html/rfc7617 )
- [OAuth Bearer ](https://tools.ietf.org/html/rfc6750 )
2019-06-05 17:52:47 +02:00
2018-05-20 21:10:48 +02:00
2020-09-28 03:04:18 +02:00
<!-- LINKS -->
2018-05-20 21:10:48 +02:00
2020-09-28 03:04:18 +02:00
[Authorization]: https://docs.rs/actix-web-httpauth/*/actix_web_httpauth/headers/authorization/index.html
[WWW-Authenticate]: https://docs.rs/actix-web-httpauth/*/actix_web_httpauth/headers/www_authenticate/index.html
[Extractors]: https://actix.rs/docs/extractors/
[Middleware]: https://docs.rs/actix-web-httpauth/*/actix_web_httpauth/middleware/index.html