Crate http_auth

source
Expand description

HTTP authentication. Currently meant for clients; to be extended for servers.

As described in the following documents and specifications:

This framework is primarily used with HTTP, as suggested by the name. It is also used by some other protocols such as RTSP.

§Cargo Features

featuredefault?description
basic-schemeyessupport for the Basic auth scheme
digest-schemeyessupport for the Digest auth scheme
httpnoconvenient conversion from http crate types, version 0.2
http10noconvenient conversion from http crate types, version 1.0

§Example

In most cases, callers only need to use PasswordClient and PasswordParams to handle Basic and Digest authentication schemes.

The http or http10 features allow parsing all WWW-Authenticate headers within a [http::HeaderMap] in one call.

Re-exports§

Modules§

Structs§

Enums§

Functions§