MFAControllerApiTest
extends TestCase
in package
MFAControllerApiTest Class Doc Comment
Tags
Table of Contents
- setUp() : void
- Setup before running each test case
- setUpBeforeClass() : void
- Setup before running any test cases
- tearDown() : void
- Clean up after running each test case
- tearDownAfterClass() : void
- Clean up after running all test cases
- testCreateTotpDeviceForCustom() : mixed
- Test case for createTotpDeviceForCustom
- testCreateTotpDeviceForOtpAuthUrl() : mixed
- Test case for createTotpDeviceForOtpAuthUrl
- testGetTotpDevice() : mixed
- Test case for getTotpDevice
- testGetTotpDeviceBy() : mixed
- Test case for getTotpDeviceBy
- testGetTotpDeviceCode() : mixed
- Test case for getTotpDeviceCode
Methods
setUp()
Setup before running each test case
public
setUp() : void
Return values
void —setUpBeforeClass()
Setup before running any test cases
public
static setUpBeforeClass() : void
Return values
void —tearDown()
Clean up after running each test case
public
tearDown() : void
Return values
void —tearDownAfterClass()
Clean up after running all test cases
public
static tearDownAfterClass() : void
Return values
void —testCreateTotpDeviceForCustom()
Test case for createTotpDeviceForCustom
public
testCreateTotpDeviceForCustom() : mixed
Create a TOTP device from custom options.
Return values
mixed —testCreateTotpDeviceForOtpAuthUrl()
Test case for createTotpDeviceForOtpAuthUrl
public
testCreateTotpDeviceForOtpAuthUrl() : mixed
Create a TOTP device from an OTP Auth URL.
Return values
mixed —testGetTotpDevice()
Test case for getTotpDevice
public
testGetTotpDevice() : mixed
Get a TOTP device by ID.
Return values
mixed —testGetTotpDeviceBy()
Test case for getTotpDeviceBy
public
testGetTotpDeviceBy() : mixed
Get a TOTP device by username, issuer, or name. Returns empty if not found..
Return values
mixed —testGetTotpDeviceCode()
Test case for getTotpDeviceCode
public
testGetTotpDeviceCode() : mixed
Get a TOTP device code by device ID.