Skip to content

Kirby 3.6.6

new Status()

Class constructor

new Status(array $props)

Parameters

Name Type Default
$props * array

For the $props parameter, you pass an array with the following data, which will be used to set up the Kirby\Cms\Auth\Status object:

Name Type Description
challenge string Sets the type of the active challenge
challengeFallback string Sets the challenge type to use as
a fallback when $challenge is null
email string Sets the email address of the current/pending user
kirby * Kirby\Cms\App Sets the Kirby instance for user lookup
status * string Sets the authentication status

Parent class

Kirby\Cms\Auth\Status