Trait actix_web_httpauth::headers::authorization::Scheme[][src]

pub trait Scheme: IntoHeaderValue + Debug + Display + Clone + Send + Sync {
    fn parse(header: &HeaderValue) -> Result<Self, ParseError>;
}

Authentication scheme for Authorization header.

Required methods

fn parse(header: &HeaderValue) -> Result<Self, ParseError>[src]

Try to parse the authentication scheme from the Authorization header.

Loading content...

Implementors

impl Scheme for Basic[src]

impl Scheme for Bearer[src]

Loading content...