Skip to main content

Module authenticate

Module authenticate 

Source

Structs§

AuthRetry
Decides whether a 401/407 received on a client transaction should be answered with credentials.
Credential
SIP Authentication Credentials

Functions§

compute_digest
Compute the digest response using raw URI string.
extract_digest_uri_raw
Extract the raw uri value from a SIP Authorization/Proxy-Authorization header.
handle_client_authenticate
Handle client-side authentication challenge
is_stale_challenge
Whether a 401/407 challenge carries stale=true (RFC 2617 §3.2.1, RFC 7616 §3.3): the server accepted the credentials and only rejected the nonce, so retrying with the fresh nonce from this challenge is expected.
verify_digest
Verify a SIP digest authentication response.