interface MfaVerificationMailerInterface (View source)

Delivers MFA email verification codes; the Application layer owns the template and transport.

Methods

bool
isMailConfigurationValid()

No description

bool
sendVerificationCode(string $email, string $code, int $expiresAt, string|null $timezone)

No description

Details

bool isMailConfigurationValid()

No description

Return Value

bool

bool sendVerificationCode(string $email, string $code, int $expiresAt, string|null $timezone)

No description

Parameters

string $email
string $code
int $expiresAt

Unix timestamp the code stops being accepted

string|null $timezone

Timezone the expiry is shown in, or the server default

Return Value

bool

Whether the mail was handed to the transport