Module vibe.http.auth.digest_auth
Implements HTTP Digest Authentication.
This is a minimal implementation based on RFC 2069.
Functions
Name | Description |
(method, url, username, password, auth, cnonce, nc, entityBody)
|
Creates the digest authorization request header.
|
createDigestPassword(realm, user, password)
|
Creates the digest password from the user name, realm and password.
|
performDigestAuth(info, pwhash)
|
Returns a request handler that enforces request to be authenticated using HTTP Digest Auth.
|
performDigestAuth(info, pwhash)
|
Scheduled for deprecation - use a @safe callback instead.
|
performDigestAuth(req, res, info, pwhash)
|
Enforces HTTP Digest Auth authentication on the given req/res pair.
|
performDigestAuth(req, res, info, pwhash)
|
Scheduled for deprecation - use a @safe callback instead.
|
Structs
Name | Description |
DigestAuthParams
|
Structure which describes requirements of the digest authentication - see https://tools.ietf.org/html/rfc2617
|