module Croda::CrodaPlugins::Csrf::InstanceMethods

Defined in:

croda/plugins/csrf.cr

Constant Summary

CSRF_FIELD = "_csrf"
CSRF_HEADER = "X-CSRF-Token"
CSRF_METHODS = ["POST", "DELETE", "PATCH", "PUT"] of ::String

Instance Method Summary

Instance Method Detail

def check_csrf! #

[View source]
def csrf_field : String #

[View source]
def csrf_token : String #

[View source]