Skip to main content

Module auth

Module auth 

Source
Expand description

SIP Digest Authentication (RFC 2617 / RFC 7616).

Handles 401 Unauthorized and 407 Proxy Authentication Required challenges.

Structs§

Credentials
Credentials for authentication.
DigestChallenge
Parsed challenge from WWW-Authenticate or Proxy-Authenticate header.
DigestResponse
Computed digest authentication response.

Enums§

DigestAlgorithm

Functions§

compute_digest
Compute the digest authentication response.
parse_challenge
Parse a Digest challenge from a WWW-Authenticate or Proxy-Authenticate header value.