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