Nephia::Plugin::CSRFDefender - CSRF Defender Plugin for Nephia
package MyApp;
use strict;
use warnings;
use Nephia plugins => [
'PlackSession',
'CSRFDefender'
];
Nephia::Plugin::CSRFDefender denies CSRF request.
-
get_csrf_defender_token()
Get a CSRF defender token.
-
validate_csrf()
Validate CSRF token manually.
Amon2::Plugin::Web::CSRFDefender
Copyright (C) papix.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
papix [email protected]