$totp->verify()
Securely checks the provided TOTP code against the current, the direct previous and following codes
$totp->verify(string $totp): bool
Parameters
Name | Type | Default |
---|---|---|
$totp * | string |
– |
Return type
bool
Securely checks the provided TOTP code against the current, the direct previous and following codes
$totp->verify(string $totp): bool
Name | Type | Default |
---|---|---|
$totp * | string |
– |
bool