Turns an AuthenticatedService into a PartialService with embedded authentication Will try to authenticate *only* requests in the domain of the AuthenticatedService, other requests are passed through.
Turns an AuthenticatedService into a PartialService with embedded authentication Will try to authenticate *only* requests in the domain of the AuthenticatedService, other requests are passed through.
the service to wrap.
a partial service.
HTTP Basic auth implementation.
HTTP Basic auth implementation.
request to be authenticated
either an authenticated user or an unauthorized response
function to validate credentials.
The user visible realm.
Implementation of the HTTP Basic auth.
function to validate credentials.
The user visible realm.