RemoteUserIdentitySource
final class RemoteUserIdentitySource (View source)
Reads the user the web server or an authenticating proxy signed in, from the remote_user settings. A server variable is set by the web server itself; a header is believed only from an address in remote_user.trusted_proxies.
Constants
| private MAX_USERNAME_LENGTH |
|
| private MAX_FULLNAME_LENGTH |
|
Methods
bool
isEnabled()
No description
RemoteUserInfo|null
identity()
The signed-in user, or null when the feature is off, nobody is signed in, or the value cannot be trusted or used as a username.
Details
__construct(ConfigurationInterface $config, array $server, LoggerInterface $logger)
No description
bool
isEnabled()
No description
RemoteUserInfo|null
identity()
The signed-in user, or null when the feature is off, nobody is signed in, or the value cannot be trusted or used as a username.