$challenges->class()
Returns the challenge handler class for the provided type
$challenges->class(string $type): class-string
Parameters
| Name | Type | Default |
|---|---|---|
| $typerequired | string |
no default value |
Return type
class-string<Kirby\Auth\Challenge>
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\NotFoundException |
If no valid class is registered for the type |