1010use Symfony \Component \DependencyInjection \Reference ;
1111use Webauthn \AuthenticatorAssertionResponseValidator ;
1212use Webauthn \AuthenticatorAttestationResponseValidator ;
13+ use Webauthn \Bundle \DependencyInjection \Compiler \EventDispatcherSetterCompilerPass ;
1314use Webauthn \CeremonyStep \CeremonyStepManager ;
1415use Webauthn \CeremonyStep \CeremonyStepManagerFactory ;
1516
@@ -56,7 +57,8 @@ public function createAuthenticatorAssertionResponseValidator(
5657 $ authenticatorAssertionResponseValidatorId ,
5758 new Definition (AuthenticatorAssertionResponseValidator::class)
5859 )
59- ->setArguments ([null , null , null , null , null , new Reference ($ ceremonyStepManagerId )]);
60+ ->setArguments ([null , null , null , null , null , new Reference ($ ceremonyStepManagerId )])
61+ ->addTag (EventDispatcherSetterCompilerPass::TAG );
6062
6163 return $ authenticatorAssertionResponseValidatorId ;
6264 }
@@ -82,7 +84,8 @@ public function createAuthenticatorAttestationResponseValidator(
8284 $ authenticatorAttestationResponseValidatorId ,
8385 new Definition (AuthenticatorAttestationResponseValidator::class)
8486 )
85- ->setArguments ([null , null , null , null , null , new Reference ($ ceremonyStepManagerId )]);
87+ ->setArguments ([null , null , null , null , null , new Reference ($ ceremonyStepManagerId )])
88+ ->addTag (EventDispatcherSetterCompilerPass::TAG );
8689
8790 return $ authenticatorAttestationResponseValidatorId ;
8891 }
0 commit comments