$challenges->get()
Returns an instance of the requested auth challenge. (This is based on the config. You might need to check yourself if the method should be available in your context)
$challenges->get(string $type, User $user, string $mode, int|null $timeout = null): Challenge
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $typerequired | string |
no default value | |
| $userrequired | Kirby\Cms\User |
no default value | |
| $moderequired | string |
no default value | |
| $timeout | intornull |
null
|
Lifetime in seconds, not an expiry timestamp |