vibe.d beta banner
get vibe.d
0.8.0

Asynchronous I/O that doesn’t get in your way, written in D

Module vibe.http.auth.digest_auth

Implements HTTP Digest Authentication.

This is a minimal implementation based on RFC 2069.

Functions

NameDescription
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.

Classes

NameDescription
DigestAuthInfo

Enums

NameDescription
NonceState

Aliases

NameTypeDescription
DigestHashCallback@safe string delegate(string, string)
Authors

Kai Nacke

Copyright

© 2015 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.