module Marten::Handlers::RequestForgeryProtection::ClassMethods
Defined in:
marten/handlers/concerns/request_forgery_protection.crInstance Method Summary
-
#protect_from_forgery(protect : Bool) : Nil
Allows to define whether or not the handler should be protected from Cross-Site Request Forgeries.
-
#protect_from_forgery?
Returns a boolean indicating if the handler is protected from Cross-Site Request Forgeries.
Instance Method Detail
def protect_from_forgery(protect : Bool) : Nil
#
Allows to define whether or not the handler should be protected from Cross-Site Request Forgeries.
def protect_from_forgery?
#
Returns a boolean indicating if the handler is protected from Cross-Site Request Forgeries.