actix_web_httpauth/
lib.rs

1//! HTTP authentication schemes for [Actix Web](https://actix.rs).
2//!
3//! Provides:
4//! - Typed [Authorization] and [WWW-Authenticate] headers
5//! - [Extractors] for an [Authorization] header
6//! - [Middleware] for easier authorization checking
7//!
8//! ## Supported schemes
9//! - `Bearer` as defined in [RFC 6750](https://tools.ietf.org/html/rfc6750).
10//! - `Basic` as defined in [RFC 7617](https://tools.ietf.org/html/rfc7617).
11//!
12//! [Authorization]: `self::headers::authorization::Authorization`
13//! [WWW-Authenticate]: `self::headers::www_authenticate::WwwAuthenticate`
14//! [Extractors]: https://actix.rs/docs/extractors
15//! [Middleware]: self::middleware
16
17#![forbid(unsafe_code)]
18#![deny(rust_2018_idioms, nonstandard_style)]
19#![warn(future_incompatible, missing_docs)]
20#![doc(html_logo_url = "https://actix.rs/img/logo.png")]
21#![doc(html_favicon_url = "https://actix.rs/favicon.ico")]
22#![cfg_attr(docsrs, feature(doc_auto_cfg))]
23
24pub mod extractors;
25pub mod headers;
26pub mod middleware;
27mod utils;