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