60 if (is_null($remoteUser)) {
63 if (is_null($remoteUser)) {
64 return [
false,
'No REMOTE_USER property was found in the PHP $_SERVER super-global. This likely means your server is not configured correctly'];
67 return [
true, $this->principalPrefix . $remoteUser];
check(RequestInterface $request, ResponseInterface $response)
When this method is called, the backend must check if authentication was successful.
This interface represents a HTTP response.
The RequestInterface represents a HTTP request.
foreach($paths as $path) $request
challenge(RequestInterface $request, ResponseInterface $response)
This method is called when a user could not be authenticated, and authentication was required for the...
getRawServerValue($valueName)
Returns an item from the _SERVER array.
This is the base class for any authentication object.