BasicAuthMiddleware
class BasicAuthMiddleware implements HTTPMiddleware (View source)
Properties
protected | array | $urlPatterns | URL Patterns for basic auth. Keys are the Regexp string to match, and the key can be one of the below:
|
Methods
public
protected
bool|string|array|null
Details
HTTPResponse
process(HTTPRequest $request, callable $delegate)
Generate response for the given request
array
getURLPatterns()
Get list of url patterns
$this
setURLPatterns(array $urlPatterns)
No description
protected bool|string|array|null
checkMatchingURL(HTTPRequest $request)
Check if global basic auth is enabled for the given request