actix_web_httpauth::extractors

Trait AuthExtractorConfig

Source
pub trait AuthExtractorConfig {
    type Inner: Challenge;

    // Required method
    fn into_inner(self) -> Self::Inner;
}
Expand description

Trait implemented for types that provides configuration for the authentication extractors.

Required Associated Types§

Source

type Inner: Challenge

Associated challenge type.

Required Methods§

Source

fn into_inner(self) -> Self::Inner

Convert the config instance into a HTTP challenge.

Implementors§

Source§

impl AuthExtractorConfig for actix_web_httpauth::extractors::basic::Config

Source§

impl AuthExtractorConfig for actix_web_httpauth::extractors::bearer::Config