mirror of
https://github.com/actix/actix-extras.git
synced 2025-02-20 01:34:22 +01:00
30 lines
1.4 KiB
Markdown
30 lines
1.4 KiB
Markdown
# actix-web-httpauth
|
|
|
|
> HTTP authentication schemes for [actix-web](https://github.com/actix/actix-web).
|
|
|
|
[](https://crates.io/crates/actix-web-httpauth)
|
|
[](https://docs.rs/actix-web-httpauth)
|
|
[](https://deps.rs/crate/actix-web-httpauth/0.5.0)
|
|

|
|
[](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
|
|
|
|
All supported schemas can be used in both middleware and request handlers.
|
|
|
|
## Supported Schemes
|
|
- [HTTP Basic](https://tools.ietf.org/html/rfc7617)
|
|
- [OAuth Bearer](https://tools.ietf.org/html/rfc6750)
|
|
|
|
|
|
<!-- LINKS -->
|
|
|
|
[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
|