ElliotSawyer\TOTPAuthenticator\Tests\Authenticators\TOTPAuthenticatorTest
Synopsis
class TOTPAuthenticatorTest
extends SapphireTest
{
- // members
- protected static string $fixture_file = 'TOTPAuthenticatorTest.yml';
- protected HTTPRequest $request;
- protected ValidationResult $result;
- protected TOTPAuthenticator $authenticator;
- // methods
- protected void setUp()
- public void testValidateTOTPReturnsValidationResultOnFailure()
- public void testValidateTOTPWithoutToken()
- public void testValidateTOTPWithMismatchingKeyProvided()
- public void testValidateTOTPWithValidData()
- public void testGetAlgorithm()
- public array algorithmProvider()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Tasks
Line | Task |
---|---|
54+ | is this actually desired behaviour? |
Members
protected
- $authenticator — ElliotSawyer\TOTPAuthenticator\TOTPAuthenticator
- $fixture_file
- $request — SilverStripe\Control\HTTPRequest
- $result — SilverStripe\ORM\ValidationResult