diff --git a/src/AuthDecorator.php b/src/AuthDecorator.php
index 2143531..2a9760d 100644
--- a/src/AuthDecorator.php
+++ b/src/AuthDecorator.php
@@ -8,20 +8,20 @@ use Drupal\Core\DependencyInjection\DependencySerializationTrait;
 use Drupal\Core\Entity\EntityTypeManagerInterface;
 use Drupal\Core\Messenger\MessengerInterface;
 use Drupal\Core\StringTranslation\StringTranslationTrait;
-use Drupal\user\UserAuthenticationInterface;
+use Drupal\user\UserAuthInterface;
 use Drupal\user\UserInterface;
 
 /**
  * Validates user authentication credentials.
  */
-class AuthDecorator implements UserAuthenticationInterface {
+class AuthDecorator implements UserAuthInterface {
   use DependencySerializationTrait;
   use StringTranslationTrait;
 
   /**
    * The original user authentication service.
    *
-   * @var \Drupal\user\UserAuthenticationInterface
+   * @var \Drupal\user\UserAuthInterface
    */
   protected $userAuth;
 
@@ -56,7 +56,7 @@ class AuthDecorator implements UserAuthenticationInterface {
   /**
    * Constructs a UserAuth object.
    *
-   * @param \Drupal\user\UserAuthenticationInterface $user_auth
+   * @param \Drupal\user\UserAuthInterface $user_auth
    *   The original user authentication service.
    * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager
    *   The entity type manager.
@@ -68,7 +68,7 @@ class AuthDecorator implements UserAuthenticationInterface {
    *   The messenger.
    */
   public function __construct(
-    UserAuthenticationInterface $user_auth,
+    UserAuthInterface $user_auth,
     EntityTypeManagerInterface $entity_type_manager,
     Connection $connection,
     ConfigFactoryInterface $config_factory,
@@ -136,4 +136,11 @@ class AuthDecorator implements UserAuthenticationInterface {
     return $this->userAuth->authenticateAccount($account, $password);
   }
 
+ /**
+   * {@inheritdoc}
+   */
+  public function authenticate($username, $password) {
+    return $this->userAuth->authenticate($username, $password);
+  }
+
 }
