Skip to content

Kirby 6.0.0

$methods->firstEnabled()

Returns the first enabled auth method for the current context

$methods->firstEnabled(): Method

Return type

Kirby\Auth\Method

Exceptions

Type Description
Kirby\Exception\NotFoundException If no auth method is enabled

Parent class

Kirby\Auth\Methods