59 $remoteUser =
$request->getRawServerValue(
'REMOTE_USER');
60 if (is_null($remoteUser)) {
61 $remoteUser =
$request->getRawServerValue(
'REDIRECT_REMOTE_USER');
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];
foreach($paths as $path) $request
An exception for terminatinating execution or to throw for unit testing.
challenge(RequestInterface $request, ResponseInterface $response)
This method is called when a user could not be authenticated, and authentication was required for the...
check(RequestInterface $request, ResponseInterface $response)
When this method is called, the backend must check if authentication was successful.
This is the base class for any authentication object.
The RequestInterface represents a HTTP request.
This interface represents a HTTP response.