You are here

public function TfaContextInterface::remainingSkips in Two-factor Authentication (TFA) 8

Remaining number of allowed logins without setting up TFA.

Return value

int|false FALSE if users are never allowed to log in without setting up TFA. The remaining number of times $this->getUser() may log in without setting up TFA.

1 method overrides TfaContextInterface::remainingSkips()
TfaContext::remainingSkips in src/TfaContext.php
Remaining number of allowed logins without setting up TFA.

File

src/TfaContextInterface.php, line 73

Class

TfaContextInterface
Provide context for the current login attempt.

Namespace

Drupal\tfa

Code

public function remainingSkips();