UserAuth
class UserAuth implements UserAuthInterface (View source)
Validates user authentication credentials.
Properties
| 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
__construct(EntityTypeManagerInterface $entity_type_manager, PasswordInterface $password_checker)
Constructs a UserAuth object.
int|bool
authenticate(string $username, string $password)
Validates user authentication credentials.