module Roda::RodaPlugins::Csrf::InstanceMethods
def csrf_field
The name of the hidden/meta csrf tag.
def csrf_field CSRF.field end
def csrf_header
The http header name to use for submitting csrf token via headers.
def csrf_header CSRF.header end
def csrf_metatag(opts={})
An html meta tag string containing the token.
def csrf_metatag(opts={}) CSRF.metatag(env, opts) end
def csrf_tag
An html hidden input tag string containing the token.
def csrf_tag CSRF.tag(env) end
def csrf_token
The value of the csrf token.
def csrf_token CSRF.token(env) end