App::Manoc::CatalystRole::RequestToken - Catalyst plugin for Manoc CSRF support
version 2.99.2
Get the current token from session. If not set generate it.
Check if the request token is valid. If it is not set load it from $c->req->param
Check the request token using check_token. If it's not valid generate a 403 error.
Gabriele Mambrini <gmambro@cpan.org>
Enrico Liguori
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.
To install App::Manoc, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Manoc
CPAN shell
perl -MCPAN -e shell install App::Manoc
For more information on module installation, please visit the detailed CPAN module installation guide.