vibe.d beta banner
get vibe.d
0.8.1

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

Module vibe.http.auth.basic_auth

Implements HTTP Basic Auth.

Functions

NameDescription
addBasicAuth(req, user, password)Augments the given HTTP request with an HTTP Basic Auth header.
performBasicAuth(realm, pwcheck)Returns a request handler that enforces request to be authenticated using HTTP Basic Auth.
performBasicAuth(req, res, realm, pwcheck)Enforces HTTP Basic Auth authentication on the given req/res pair.
Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

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