By cmlara on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
2.x
Introduced in version:
2.0.0-alpha3
Issue links:
Description:
The previously optional public function validateRequest(#[\SensitiveParameter] string $code): bool;) is now a required method for plugins implementing TfaValidationInterface.
This method will be called for methods that do not use the typical login form method.
Examples of possible use case may be REST endpoints or user.auth logins not protected by the TFA EntryForm.
Impacts:
Module developers