UserAuth
class UserAuth implements UserAuthInterface (View source)
Validates user authentication credentials.
Traits
Provides a standard way to announce deprecated properties.
Properties
| protected | $deprecatedProperties | {@inheritdoc} | |
| protected EntityTypeManagerInterface | $entityTypeManager | The entity type manager. |
|
| protected PasswordInterface | $passwordChecker | The password hashing service. |
Methods
__construct(EntityTypeManagerInterface $entity_type_manager, PasswordInterface $password_checker)
Constructs a UserAuth object.
int|bool
authenticate(string $username, string $password)
Validates user authentication credentials.
Details
__get($name)
Allows to access deprecated/removed properties.
This method must be public.
__construct(EntityTypeManagerInterface $entity_type_manager, PasswordInterface $password_checker)
Constructs a UserAuth object.
int|bool
authenticate(string $username, string $password)
Validates user authentication credentials.