category
http_router_digest_auth(Verifier,ProtectOptions,AuthenticationInfoOptions)
Verifier- Verifier object passed tohttp_digest::protect_request/4when a routed request declaresdigest_auth/1metadata.ProtectOptions- Base protect-request options merged with any route-specificdigest_auth/1metadata options.AuthenticationInfoOptions- Base options passed tohttp_digest::add_authentication_info/4when a routed request was successfully verified using Digest authentication.
Optional Digest-auth router helpers for objects importing the http_router category.
Availability:
logtalk_load(http_digest(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-06-03
Compilation flags:
staticUses:
Remarks:
(none)
Inherited public predicates:
(none)
Public predicates
(no local declarations; see entity ancestors if any)
Protected predicates
add_digest_authentication_info/3
Router helper that decorates a response with Authentication-Info when the routed request was successfully verified using Digest authentication.
Compilation flags:
staticTemplate:
add_digest_authentication_info(Request,Response0,Response)Mode and number of proofs:
add_digest_authentication_info(+compound,+compound,-compound) - one_or_errorExceptions:
AuthenticationInfoOptions is not a proper list of Digest authentication-info options:domain_error(http_router_digest_auth_authentication_info_options,AuthenticationInfoOptions)Request is not a normalized HTTP request term:domain_error(http_request,Request)Response0 is not a normalized HTTP response term:domain_error(http_response,Response0)An element
Option of the Digest authentication-info options list is a variable:instantiation_errorAn element
Option of the Digest authentication-info options list is neither a variable nor a compound term:type_error(compound,Option)An element
Option of the Digest authentication-info options list is a compound term but not a valid Digest option:domain_error(option,Option)An element
Option of the Digest authentication-info options list is not accepted by http_digest::add_authentication_info/4:domain_error(http_digest_add_authentication_info_option,Option)The routed request carries an invalid Digest authorization term:
domain_error(http_digest_term(authorization),Cause)The routed request carries a Digest authorization with an unsupported response qop:
domain_error(http_digest_qop,Qop)The routed request carries a Digest authorization with an unsupported algorithm:
domain_error(http_digest_algorithm,Algorithm)Automatic
nextnonce generation is requested without nonce_secret/1:domain_error(http_digest_add_authentication_info_option,nonce_secret(A))Private predicates
(no local declarations; see entity ancestors if any)
Operators
(none)