1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-02-02 18:59:04 +01:00

25 lines
846 B
Rust
Raw Normal View History

//! HTTP authentication schemes for [Actix Web](https://actix.rs).
2018-05-23 15:31:14 +03:00
//!
//! Provides:
2020-09-28 02:04:18 +01:00
//! - Typed [Authorization] and [WWW-Authenticate] headers
//! - [Extractors] for an [Authorization] header
//! - [Middleware] for easier authorization checking
//!
//! ## Supported schemes
//! - `Bearer` as defined in [RFC 6750](https://tools.ietf.org/html/rfc6750).
//! - `Basic` as defined in [RFC 7617](https://tools.ietf.org/html/rfc7617).
//!
//! [Authorization]: `self::headers::authorization::Authorization`
//! [WWW-Authenticate]: `self::headers::www_authenticate::WwwAuthenticate`
//! [Extractors]: https://actix.rs/docs/extractors
//! [Middleware]: self::middleware
2018-05-30 16:43:39 +03:00
2021-08-30 23:10:36 +01:00
#![forbid(unsafe_code)]
2021-12-08 06:11:13 +00:00
#![deny(rust_2018_idioms, nonstandard_style)]
#![warn(future_incompatible, missing_docs)]
2018-05-23 15:31:14 +03:00
2018-05-30 16:43:39 +03:00
pub mod extractors;
pub mod headers;
pub mod middleware;
mod utils;