@@ -98,3 +98,111 @@ Constant: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\BackupCodeEvents::INV
9898Event class: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\TwoFactorCodeEvent ``
9999
100100Is dispatched when the code was deemed to be a invalid backup code.
101+
102+
103+ Email Authentication Events
104+ ---------------------------
105+
106+ The following events are dispatched when the email code authentication provider is used:
107+
108+ ``scheb_two_factor.provider.email.sent ``
109+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110+
111+ Constant: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\EmailCodeEvents::SENT ``
112+
113+ Event class: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\TwoFactorCodeEvent ``
114+
115+ Is dispatched whenever a code was sent via email to the user.
116+
117+ ``scheb_two_factor.provider.email.check ``
118+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
119+
120+ Constant: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\EmailCodeEvents::CHECK ``
121+
122+ Event class: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\TwoFactorCodeEvent ``
123+
124+ Is dispatched whenever a code is checked if it is a valid email code.
125+
126+ ``scheb_two_factor.provider.email.valid ``
127+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
128+
129+ Constant: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\EmailCodeEvents::VALID ``
130+
131+ Event class: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\TwoFactorCodeEvent ``
132+
133+ Is dispatched when the code was deemed to be a valid email code.
134+
135+ ``scheb_two_factor.provider.email.invalid ``
136+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
137+
138+ Constant: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\EmailCodeEvents::INVALID ``
139+
140+ Event class: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\TwoFactorCodeEvent ``
141+
142+ Is dispatched when the code was deemed to be a invalid email code.
143+
144+
145+ Google Authenticator Events
146+ ---------------------------
147+
148+ The following events are dispatched when the Google Authenticator authentication provider is used:
149+
150+ ``scheb_two_factor.provider.google.check ``
151+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
152+
153+ Constant: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\GoogleAuthenticatorCodeEvents::CHECK ``
154+
155+ Event class: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\TwoFactorCodeEvent ``
156+
157+ Is dispatched whenever a code is checked if it is a valid Google Authenticator code.
158+
159+ ``scheb_two_factor.provider.google.valid ``
160+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
161+
162+ Constant: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\GoogleAuthenticatorCodeEvents::VALID ``
163+
164+ Event class: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\TwoFactorCodeEvent ``
165+
166+ Is dispatched when the code was deemed to be a valid Google Authenticator code.
167+
168+ ``scheb_two_factor.provider.google.invalid ``
169+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
170+
171+ Constant: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\GoogleAuthenticatorCodeEvents::INVALID ``
172+
173+ Event class: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\TwoFactorCodeEvent ``
174+
175+ Is dispatched when the code was deemed to be a invalid Google Authenticator code.
176+
177+
178+ TOTP Authentication Events
179+ --------------------------
180+
181+ The following events are dispatched when the TOTP authentication provider is used:
182+
183+ ``scheb_two_factor.provider.totp.check ``
184+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
185+
186+ Constant: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\TotpCodeEvents::CHECK ``
187+
188+ Event class: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\TwoFactorCodeEvent ``
189+
190+ Is dispatched whenever a code is checked if it is a valid TOTP code.
191+
192+ ``scheb_two_factor.provider.totp.valid ``
193+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
194+
195+ Constant: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\TotpCodeEvents::VALID ``
196+
197+ Event class: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\TwoFactorCodeEvent ``
198+
199+ Is dispatched when the code was deemed to be a valid TOTP code.
200+
201+ ``scheb_two_factor.provider.totp.invalid ``
202+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
203+
204+ Constant: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\TotpCodeEvents::INVALID ``
205+
206+ Event class: ``Scheb\TwoFactorBundle\Security\TwoFactor\Event\TwoFactorCodeEvent ``
207+
208+ Is dispatched when the code was deemed to be a invalid TOTP code.
0 commit comments