vibe.d beta banner
get vibe.d
0.8.6

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
checkBasicAuth(req, pwcheck) Checks for valid HTTP Basic Auth authentication on the given request.
performBasicAuth(realm, pwcheck) Returns a request handler that enforces request to be authenticated using HTTP Basic Auth.
performBasicAuth(realm, pwcheck) Scheduled for deprecation - use a @safe callback instead.
performBasicAuth(req, res, realm, pwcheck) Enforces HTTP Basic Auth authentication on the given req/res pair.
performBasicAuth(req, res, realm, pwcheck) Scheduled for deprecation - use a @safe callback instead.

Aliases

NameTypeDescription
addBasicAuth
PasswordVerifyCallback @safe bool delegate(string, string)
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.