You are here

function sms_tfa_api in Two-factor Authentication (TFA) 7

Same name and namespace in other branches
  1. 6 tfa.module \sms_tfa_api()

Implements hook_tfa_api() on behalf of the SMS module.

File

./tfa.module, line 310
Two-factor authentication for Drupal.

Code

function sms_tfa_api() {
  return array(
    'title' => t('SMS Framework'),
    'send callback' => '_tfa_send_code',
    'address callback' => 'tfa_get_phone_number',
  );
}