Plugin with Auth that registers: Pages, Widgets, and Resources

I'm creating a plugin for the registration of modules. How do I get the authenticated user on the plugin?
I already tried the following:
auth()->check()
Auth::check()
Filament::getTenant()

These gave null and false

Thank you
filament-plugin-auth.png
Was this page helpful?