# TotpChallenge

Verifies one-time time-based auth codes that are generated with an authenticator app. Users first have to set up time-based codes (storing the TOTP secret in their user account).

****

- Full class name: `Kirby\Cms\Auth\TotpChallenge`
- Source: <https://github.com/getkirby/kirby/tree/5.5.3/src/Cms/Auth/TotpChallenge.php#L21>

****

### TotpChallenge

- [TotpChallenge::create()](https://getkirby.com/docs/reference/objects/cms-auth/totp-challenge/create.md)
- [TotpChallenge::isAvailable()](https://getkirby.com/docs/reference/objects/cms-auth/totp-challenge/is-available.md)
- [TotpChallenge::verify()](https://getkirby.com/docs/reference/objects/cms-auth/totp-challenge/verify.md)