$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 types
string
ornull
This method modifies the existing $status
object it is applied to and returns it again.