You are here

function tfa_test_tfa_api in Two-factor Authentication (TFA) 7.2

Same name and namespace in other branches
  1. 7 tests/tfa_test.module \tfa_test_tfa_api()

Implements hook_tfa_api().

File

tests/tfa_test.module, line 29
A mock module for testing TFA.

Code

function tfa_test_tfa_api() {

  // Test plugins.
  return array(
    'tfa_test_login' => array(
      'class' => 'TfaTestLogin',
      'name' => 'Login test',
    ),
    'tfa_test_send' => array(
      'class' => 'TfaTestSend',
      'name' => 'Send test',
    ),
    'tfa_test_totp' => array(
      'class' => 'TfaTestTotp',
      'name' => 'TOTP test',
    ),
    'tfa_test_fallback' => array(
      'class' => 'TfaTestFallback',
      'name' => 'Fallback test',
    ),
  );
}