N2y::App::Auth::AuthHandler
Inherits Kemal::Handler < HTTP::Handler < Reference < Object
Kemal middleware for authentication.
Redirects to login page if user is not authenticated, and sets up user logging.
Instance methods
call(env)
SourceInherits Kemal::Handler < HTTP::Handler < Reference < Object
Kemal middleware for authentication.
Redirects to login page if user is not authenticated, and sets up user logging.