Padrino::Helpers::FormHelpers::Security
Module: Padrino::Helpers::FormHelpers::Security
Overview
Helpers to generate form security tags for csrf protection.
Instance Method Summary
-
#csrf_meta_tags ⇒ String
Constructs meta tags `csrf-param` and `csrf-token` with the name of the cross-site request forgery protection parameter and token, respectively. -
#csrf_token_field ⇒ String
Constructs a hidden field containing a CSRF token.
Instance Method Details
#csrf_meta_tags ⇒ String
Constructs meta tags `csrf-param` and `csrf-token` with the name of the cross-site request forgery protection parameter and token, respectively.
#csrf_token_field ⇒ String
Constructs a hidden field containing a CSRF token.
© 2010–2016 Padrino
Licensed under the MIT License.
http://www.rubydoc.info/github/padrino/padrino-framework/Padrino/Helpers/FormHelpers/Security