Method | Description | |
---|---|---|
__construct ( Scheb\TwoFactorBundle\Model\PersisterInterface $persister ) | ||
addTrustedComputer ( mixed $user, string $token, DateTime $validUntil ) | Add a trusted computer token for a user. | |
isTrustedComputer ( mixed $user, string $token ) : boolean | Validate a trusted computer token for a user. |
public __construct ( Scheb\TwoFactorBundle\Model\PersisterInterface $persister ) | ||
$persister | Scheb\TwoFactorBundle\Model\PersisterInterface |
public addTrustedComputer ( mixed $user, string $token, DateTime $validUntil ) | ||
$user | mixed | |
$token | string | |
$validUntil | DateTime |