How can I run custom auth logic, like beforeLogin

I finally found it but holy @#$% guys please hire me to fix your documentation this is absolutely horrible

Wouldn’t find it without this guy’s post

What’s the plugin type? what are the plugin.controllers.*? bruh