Skip to content

Kirby 6.0.0

$methods->get()

Returns an instance of the requested auth method. (You might still need to check yourself if the method is actually enabled in your context)

$methods->get(string $type): Method

Parameters

Name Type Default
$typerequired string no default value

Return type

Kirby\Auth\Method

Parent class

Kirby\Auth\Methods