NAME
App::Manoc::CatalystRole::RequestToken - Catalyst plugin for Manoc CSRF support
VERSION
version 2.99.2
METHODS
get_token
Get the current token from session. If not set generate it.
check_token($c, [$token])
Check if the request token is valid. If it is not set load it from $c->req->param
require_valid_token($c, [$token])
Check the request token using check_token. If it's not valid generate a 403 error.
AUTHORS
Gabriele Mambrini <gmambro@cpan.org>
Enrico Liguori
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by Gabriele Mambrini.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.