UserAuthenticationController::create

public static UserAuthenticationController::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container:

UserAuthenticationController::floodControl

protected UserAuthenticationController::floodControl(Request $request, $username) Enforces flood control for the current login request. Parameters \Symfony\Component\HttpFoundation\Request $request: The current request. string $username: The user name sent for login credentials. File core/modules/user/src/Controller/UserAuthenticationController.php, line 293 Class UserAuthenticationController Provides controllers for login, login status and logout via HTTP requests. Namespace Drupal\us

UserAuthenticationController::LOGGED_OUT

String sent in responses, to describe the user as being logged out. File core/modules/user/src/Controller/UserAuthenticationController.php, line 38 Class UserAuthenticationController Provides controllers for login, login status and logout via HTTP requests. Namespace Drupal\user\Controller Code const LOGGED_OUT = 0;

UserAuthenticationController::LOGGED_IN

String sent in responses, to describe the user as being logged in. File core/modules/user/src/Controller/UserAuthenticationController.php, line 31 Class UserAuthenticationController Provides controllers for login, login status and logout via HTTP requests. Namespace Drupal\user\Controller Code const LOGGED_IN = 1;

UserAuthenticationController::$routeProvider

The route provider. Type: \Drupal\Core\Routing\RouteProviderInterface File core/modules/user/src/Controller/UserAuthenticationController.php, line 73 Class UserAuthenticationController Provides controllers for login, login status and logout via HTTP requests. Namespace Drupal\user\Controller Code protected $routeProvider;

UserAuthenticationController::$serializerFormats

The available serialization formats. Type: array File core/modules/user/src/Controller/UserAuthenticationController.php, line 87 Class UserAuthenticationController Provides controllers for login, login status and logout via HTTP requests. Namespace Drupal\user\Controller Code protected $serializerFormats = [];

UserAuthenticationController::$userStorage

The user storage. Type: \Drupal\user\UserStorageInterface File core/modules/user/src/Controller/UserAuthenticationController.php, line 52 Class UserAuthenticationController Provides controllers for login, login status and logout via HTTP requests. Namespace Drupal\user\Controller Code protected $userStorage;

UserAuthenticationController::$userAuth

The user authentication. Type: \Drupal\user\UserAuthInterface File core/modules/user/src/Controller/UserAuthenticationController.php, line 66 Class UserAuthenticationController Provides controllers for login, login status and logout via HTTP requests. Namespace Drupal\user\Controller Code protected $userAuth;

UserAuthenticationController::$flood

The flood controller. Type: \Drupal\Core\Flood\FloodInterface File core/modules/user/src/Controller/UserAuthenticationController.php, line 45 Class UserAuthenticationController Provides controllers for login, login status and logout via HTTP requests. Namespace Drupal\user\Controller Code protected $flood;

UserAuthenticationController::$serializer

The serializer. Type: \Symfony\Component\Serializer\Serializer File core/modules/user/src/Controller/UserAuthenticationController.php, line 80 Class UserAuthenticationController Provides controllers for login, login status and logout via HTTP requests. Namespace Drupal\user\Controller Code protected $serializer;