diff --git a/security/custom_authenticator.rst b/security/custom_authenticator.rst index 4e38e01e82b..6865eb28f01 100644 --- a/security/custom_authenticator.rst +++ b/security/custom_authenticator.rst @@ -261,6 +261,7 @@ The following credential classes are supported by default: :class:`Symfony\\Component\\Security\\Http\\Authenticator\\Passport\\Credentials\\CustomCredentials` Allows a custom closure to check credentials:: + use Symfony\Component\Security\Core\User\UserInterface; use Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials; // ...