Method | Description | |
---|---|---|
__construct ( Swift_Mailer $mailer, Twig_Environment $twig, string $senderEmail, string $senderName, string $supportUrl, string $wallabagUrl ) | Initialize the auth code mailer with the SwiftMailer object. | |
sendAuthCode ( Scheb\TwoFactorBundle\Model\Email\TwoFactorInterface $user ) | Send the auth code to the user via email. |
public __construct ( Swift_Mailer $mailer, Twig_Environment $twig, string $senderEmail, string $senderName, string $supportUrl, string $wallabagUrl ) | ||
$mailer | Swift_Mailer | |
$twig | Twig_Environment | |
$senderEmail | string | |
$senderName | string | |
$supportUrl | string | wallabag support url |
$wallabagUrl | string | wallabag instance url |
public sendAuthCode ( Scheb\TwoFactorBundle\Model\Email\TwoFactorInterface $user ) | ||
$user | Scheb\TwoFactorBundle\Model\Email\TwoFactorInterface |