2018-05-20 12:59:41 +03:00
|
|
|
# actix-web-httpauth
|
2018-05-20 13:15:59 +03:00
|
|
|
|
2020-09-28 02:04:18 +01:00
|
|
|
> HTTP authentication schemes for [actix-web](https://github.com/actix/actix-web).
|
|
|
|
|
2021-03-21 09:38:29 +00:00
|
|
|
[](https://crates.io/crates/actix-web-httpauth)
|
2022-07-21 02:51:33 +01:00
|
|
|
[](https://docs.rs/actix-web-httpauth/0.8.0)
|
2020-01-30 01:14:55 +00:00
|
|
|

|
2022-07-21 02:51:33 +01:00
|
|
|
[](https://deps.rs/crate/actix-web-httpauth/0.8.0)
|
2020-09-28 02:04:18 +01:00
|
|
|
|
2021-03-21 09:38:29 +00:00
|
|
|
## Documentation & Resources
|
|
|
|
|
2022-01-28 09:17:15 -08:00
|
|
|
- [API Documentation](https://docs.rs/actix-web-httpauth/)
|
2022-06-22 20:42:46 +09:00
|
|
|
- Minimum Supported Rust Version (MSRV): 1.57
|
2020-09-28 02:04:18 +01:00
|
|
|
|
|
|
|
## Features
|
|
|
|
- Typed [Authorization] and [WWW-Authenticate] headers
|
|
|
|
- [Extractors] for authorization headers
|
|
|
|
- [Middleware] for easier authorization checking
|
2018-05-20 13:15:59 +03:00
|
|
|
|
2020-09-28 02:04:18 +01:00
|
|
|
All supported schemas can be used in both middleware and request handlers.
|
2018-05-20 22:10:48 +03:00
|
|
|
|
2020-09-28 02:04:18 +01:00
|
|
|
## Supported Schemes
|
|
|
|
- [HTTP Basic](https://tools.ietf.org/html/rfc7617)
|
|
|
|
- [OAuth Bearer](https://tools.ietf.org/html/rfc6750)
|
2019-06-05 18:52:47 +03:00
|
|
|
|
2018-05-20 22:10:48 +03:00
|
|
|
|
2020-09-28 02:04:18 +01:00
|
|
|
<!-- LINKS -->
|
2018-05-20 22:10:48 +03:00
|
|
|
|
2020-09-28 02:04:18 +01: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
|