Trait poem_openapi::auth::BasicAuthorization
source · [−]pub trait BasicAuthorization: Sized {
fn from_request(req: &Request) -> Result<Self>;
}
Expand description
Represents a basic authorization extractor.
Required methods
fn from_request(req: &Request) -> Result<Self>
fn from_request(req: &Request) -> Result<Self>
Extract from the HTTP request.