typed_headers/impls/auth_scheme.rs
1token! {
2 /// An authorization scheme.
3 AuthScheme => {
4 /// Basic authentication, as defined in [RFC7617].
5 ///
6 /// [RFC7617]: https://tools.ietf.org/html/rfc7617
7 BASIC => "Basic" => [],
8 /// Bearer authentication, as defined in [RFC6750].
9 ///
10 /// [RFC6750]: https://tools.ietf.org/html/rfc6750
11 BEARER => "Bearer" => [],
12 }
13}