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

Represents an api key authorization extractor.

Required Methods§

source

fn from_request( req: &Request, query: &UrlQuery, name: &str, in_type: MetaParamIn ) -> Result<Self>

Extract from the HTTP request.

Implementors§