{
    "mode": "ri",
    "parameter": "WEBrick::HTTPAuth::Htdigest",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/ri/WEBrick%3A%3AHTTPAuth%3A%3AHtdigest/json",
    "generated": "2026-07-30T01:10:55Z",
    "sections": {
        "WEBrick::HTTPAuth::Htdigest < Object": {
            "content": "------------------------------------------------------------------------",
            "subsections": []
        },
        "Includes:": {
            "content": "UserDB (from /home/chedong/.local/share/rdoc)\n\n(from /home/chedong/.local/share/rdoc)\n------------------------------------------------------------------------\nHtdigest accesses apache-compatible digest password files.  Passwords\nare matched to a realm where they are valid.  For security, the path for\na digest password database should be stored outside of the paths\navailable to the HTTP server.\n\nHtdigest is intended for use with WEBrick::HTTPAuth::DigestAuth and\nstores passwords using cryptographic hashes.\n\nhtpasswd = WEBrick::HTTPAuth::Htdigest.new 'mypasswordfile'\nhtpasswd.setpasswd 'my realm', 'username', 'password'\nhtpasswd.flush\n------------------------------------------------------------------------",
            "subsections": []
        },
        "Class methods:": {
            "content": "new\n",
            "subsections": []
        },
        "Instance methods:": {
            "content": "deletepasswd\neach\nflush\ngetpasswd\nreload\nsetpasswd\n",
            "subsections": []
        }
    },
    "flags": [],
    "examples": [],
    "see_also": []
}