SilverStripe\MFA\Tests\Stub\Null\VerifyHandler
Synopsis
class VerifyHandler
implements
VerifyHandlerInterface,TestOnly
{
- // methods
- public array start()
- public Result verify()
- public string getComponent()
Hierarchy
Implements
- SilverStripe\MFA\Method\Handler\VerifyHandlerInterface
- SilverStripe\Dev\TestOnly
Tasks
Line | Task |
---|---|
24 | Implement start() method. |
38 | Implement verify() method. |
48 | Implement getComponent() method. |
Methods
public
- getComponent() — Get the key that a React UI component is registered under (with @silverstripe/react-injector on the front-end)
- start() — Stores any data required to handle a login process with a method, and returns relevant state to be applied to the front-end application managing the process.
- verify() — Verify the request has provided the right information to verify the member that aligns with any sessions state that may have been set prior