3.8 library(http/http_digest): HTTP Digest authentication
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog HTTP support
        • The HTTP server libraries
          • library(http/http_digest): HTTP Digest authentication
            • http_digest_challenge//2
            • http_parse_digest_challenge/2
            • http_digest_response/5
            • http_digest_password_hash/4
            • authenticate/3
            • authenticate_client/2
Availability::- use_module(library(http/http_digest)).
Sourcehttp_digest_response(+Challenge, +User, +Password, -Reply, +Options)
Formulate a reply to a digest authentication request. Options:
path(+Path)
The request URI send along with the authentication. Defaults to /
method(+Method)
The HTTP method. Defaults to 'GET'
nc(+Integer)
The nonce-count as an integer. This is formatted as an 8 hex-digit string.
Challenge is a list Name(Value), normally from http_parse_digest_challenge/2. Must contain realm and nonce. Optionally contains opaque.
User is the user we want to authenticated
Password is the user's password
Options provides additional options