From 6ae48a88672d49b781535a02f73ad971d4ca87b7 Mon Sep 17 00:00:00 2001 From: Jesse Rushlow Date: Sun, 21 Apr 2024 04:11:06 -0400 Subject: [PATCH] [security] `make:security:custom` Since MakerBundle `v1.59.0` - you can call `make:security:custom` to generate a simple, no-frills, custom authenticator based off the example in the docs. --- security/custom_authenticator.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/security/custom_authenticator.rst b/security/custom_authenticator.rst index c57a2d84c23..3ec158d4e76 100644 --- a/security/custom_authenticator.rst +++ b/security/custom_authenticator.rst @@ -5,7 +5,8 @@ Symfony comes with :ref:`many authenticators ` and third party bundles also implement more complex cases like JWT and oAuth 2.0. However, sometimes you need to implement a custom authentication mechanism that doesn't exist yet or you need to customize one. In such -cases, you must create and use your own authenticator. +cases, you can use the ``make:security:custom`` command to create your own +authenticator. Authenticators should implement the :class:`Symfony\\Component\\Security\\Http\\Authenticator\\AuthenticatorInterface`.