- checkBasicAuth
bool checkBasicAuth(HTTPServerRequest req, PasswordVerifyCallback pwcheck)
Checks for valid HTTP Basic Auth authentication on the given request.
- performBasicAuth
HTTPServerRequestDelegateS performBasicAuth(string realm, PasswordVerifyCallback pwcheck)
Returns a request handler that enforces request to be authenticated using HTTP Basic Auth.
- performBasicAuth
HTTPServerRequestDelegateS performBasicAuth(string realm, bool delegate(string, string) @(system) pwcheck)
Scheduled for deprecation - use a @safe callback instead.
- performBasicAuth
string performBasicAuth(HTTPServerRequest req, HTTPServerResponse res, string realm, PasswordVerifyCallback pwcheck)
Enforces HTTP Basic Auth authentication on the given req/res pair.
- performBasicAuth
string performBasicAuth(HTTPServerRequest req, HTTPServerResponse res, string realm, bool delegate(string, string) @(system) pwcheck)
Scheduled for deprecation - use a @safe callback instead.
Implements HTTP Basic Auth.