Trait poem_openapi::auth::ApiKeyAuthorization[][src]

pub trait ApiKeyAuthorization: Sized {
    fn from_request(
        req: &Request,
        query: &HashMap<String, String>,
        name: &str,
        in_type: MetaParamIn
    ) -> Result<Self, ParseRequestError>; }
Expand description

Represents an api key authorization extractor.

Required methods

Extract from the HTTP request.

Implementors