An interface for validating user authentication credentials. Hierarchy interface \Drupal\user\
public UserAuthInterface::authenticate($username, $password)