-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Closed
Copy link
Labels
RFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)Security
Description
I fail to see why
symfony/src/Symfony/Component/Security/Http/Authenticator/Passport/PassportTrait.php
Lines 46 to 53 in 21d4c09
public function checkIfCompletelyResolved(): void | |
{ | |
foreach ($this->badges as $badge) { | |
if (!$badge->isResolved()) { | |
throw new BadCredentialsException(sprintf('Authentication failed security badge "%s" is not resolved, did you forget to register the correct listeners?', \get_class($badge))); | |
} | |
} | |
} |
should be part of the PassportInterface contract, instead of leveraging eg. AuthenticatorManagerInterface 🤔
can a passport really be self-checking in that regard? is it an implementation detail of the manager?
mdeboer and chalasrmdeboer
Metadata
Metadata
Assignees
Labels
RFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)Security