class Kemal::Authorizer::AnonymousHandler
- Kemal::Authorizer::AnonymousHandler
- Kemal::Authorizer::BaseHandler
- Kemal::Handler
- Reference
- Object
Overview
Kemal::Authorizer::AnonymousHandler
is a middleware that makes sure that
only anonymous users can visit the specified routes.
Kemal::Authorizer::AnonymousHandler.new({
"/login" => ["GET", "POST"],
"/signup" => ["GET", "POST"]
})