actix_web_security/authentication/scheme/basic/
mod.rs

1//! The basic scheme module offers an implementation of a basic authentication header extractor, authentication provider and
2//! user detail service.
3
4use crate::authentication::scheme::authentication::Authentication;
5
6pub mod authentication_provider;
7pub mod header_extractor;
8pub mod user_details_service;
9
10/// A basic authentication struct representing the username and password extracted from the authorization header.
11pub struct BasicAuthentication {
12    pub username: String,
13    pub password: String,
14}
15
16impl Authentication for BasicAuthentication {}