$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 |
|---|---|---|
| $totprequired | string |
no default value |
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 |
|---|---|---|
| $totprequired | string |
no default value |
bool