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

Authentication scheme for Authorization header.

Required methods

Try to parse the authentication scheme from the Authorization header.

Implementors