Struct poem_openapi::auth::Basic
source · Expand description
Used to extract the username/password from the request.
Fields§
§username: String
username
password: String
password
Trait Implementations§
source§impl BasicAuthorization for Basic
impl BasicAuthorization for Basic
source§fn from_request(req: &Request) -> Result<Self>
fn from_request(req: &Request) -> Result<Self>
Extract from the HTTP request.