mirror of
https://github.com/actix/actix-extras.git
synced 2025-02-02 18:59:04 +01:00
22 lines
737 B
Rust
22 lines
737 B
Rust
//! HTTP Authorization support for [actix-web](https://actix.rs) framework.
|
|
//!
|
|
//! Provides [Authorization] and [WWW-Authenticate] headers,
|
|
//! and [extractors] for an [Authorization] header.
|
|
//!
|
|
//! ## Supported schemes
|
|
//!
|
|
//! * `Basic`, as defined in [RFC7617](https://tools.ietf.org/html/rfc7617)
|
|
//! * `Bearer`, as defined in [RFC6750](https://tools.ietf.org/html/rfc6750)
|
|
//!
|
|
//! [Authorization]: `crate::headers::authorization::Authorization`
|
|
//! [WWW-Authenticate]: `crate::headers::www_authenticate::WwwAuthenticate`
|
|
//! [extractors]: https://actix.rs/docs/extractors/
|
|
|
|
#![forbid(bare_trait_objects)]
|
|
#![forbid(missing_docs)]
|
|
#![cfg_attr(feature = "nightly", feature(test))]
|
|
|
|
pub mod extractors;
|
|
pub mod headers;
|
|
mod utils;
|