Skip to content

Kirby 6.0.0

$totpChallenge->verify()

Verifies the input is the current, previous or next TOTP code

$totpChallenge->verify(mixed $input, Pending $data): bool

Parameters

Name Type Default
$inputrequired mixed no default value
$datarequired Kirby\Auth\Pending no default value

Return type

bool

Parent class

Kirby\Auth\Challenge\TotpChallenge