$status->challenge()
Returns the type of the active challenge
$status->challenge(bool $automaticFallback = true): string|null
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $automaticFallback | bool |
true |
If set to false, no faked challenge is returned;WARNING: never send the resulting null value to theuser to avoid leaking whether the pending user exists |
Return type
string|null