docs: add inline documentation where missing

This commit is contained in:
Björn Fromme
2025-12-19 17:26:59 +01:00
parent 2dd5b7ad64
commit 1f1ac1a0cc
18 changed files with 150 additions and 0 deletions
+9
View File
@@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace App\Security;
use App\BusProNet\ApiClient;
@@ -22,6 +24,13 @@ use Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPasspor
use Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface;
use Symfony\Component\Security\Http\Util\TargetPathTrait;
/**
* Authenticates users against the BPN API.
*
* Validates credentials via BPN's getPersonalData endpoint, creates or updates
* local User entities, and retrieves CRM attributes (roles, hotel codes) for
* authorization. Passwords are stored encrypted with RSA for subsequent API calls.
*/
class BpnAuthenticator extends AbstractLoginFormAuthenticator implements AuthenticationEntryPointInterface
{
use TargetPathTrait;