++ed by:
NUKOSUKE ZAKAME NOZZZZZ YUUKI TOKUHIROM

14 PAUSE users
11 non-PAUSE users.

MATSUNO★…Tokuhiro
and 1 contributors

NAME

Amon2::Plugin::Web::CSRFDefender - Anti CSRF filter

SYNOPSIS

    package MyApp::Web;
    use Amon2::Web;

    __PACKAGE__->load_plugin('Web::CSRFDefender');

DESCRIPTION

This plugin denies CSRF request.

METHODS

$c->get_csrf_defender_token()

Get a CSRF defender token. This method is useful to add token for AJAX request.

$c->validate_csrf()

You can validate CSRF token manually.

AUTHOR

Tokuhiro Matsuno

SEE ALSO

Amon2