CwpBasicAuthMiddleware
class CwpBasicAuthMiddleware extends BasicAuthMiddleware implements PermissionProvider (View source)
Methods
from
BasicAuthMiddleware
array
getWhitelistedIps()
No description
$this
setWhitelistedIps(string|string[] $whitelistedIps)
No description
providePermissions()
Provide a permission code for users to be able to access the site in test mode (UAT sites). This will apply to any route other than those required to change your password.
Details
HTTPResponse
process(HTTPRequest $request, callable $delegate)
Generate response for the given request
array
getURLPatterns()
Get list of url patterns
$this
setURLPatterns(array $urlPatterns)
array
getWhitelistedIps()
$this
setWhitelistedIps(string|string[] $whitelistedIps)
providePermissions()
Provide a permission code for users to be able to access the site in test mode (UAT sites). This will apply to any route other than those required to change your password.