Skip to content

Kirby 5.1.1

$kirby->auth()

Returns the Authentication layer class

$kirby->auth(): Kirby\Cms\Auth

Return type

Kirby\Cms\Auth

This method modifies the existing $app object it is applied to and returns it again.

Parent class

Kirby\Cms\App