You are here

TfaLoginInterface.php in Two-factor Authentication (TFA) 8

Namespace

Drupal\tfa\Plugin

File

src/Plugin/TfaLoginInterface.php
View source
<?php

namespace Drupal\tfa\Plugin;


/**
 * Interface TfaLoginInterface.
 *
 * Login plugins interact with the Tfa loginAllowed() process prior to starting
 * a TFA process.
 */
interface TfaLoginInterface {

  /**
   * Whether login is allowed.
   *
   * @return bool
   *   Whether login is allowed.
   */
  public function loginAllowed();

}

Interfaces

Namesort descending Description
TfaLoginInterface Interface TfaLoginInterface.