Function performBasicAuth
Overload group
Prototypes
void delegate(HttpServerRequest req, HttpServerResponse res) performBasicAuth( string realm, bool delegate(string user, string name) pwcheck );
Overload group
req
/res
pair.
Prototypes
string performBasicAuth( HttpServerRequest req, HttpServerResponse res, string realm, bool delegate(string user, string name) pwcheck );
Parameters
Returns
Returns the name of the authenticated user.
Throws
Throws a HttpStatusExeption in case of an authentication failure.
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.