NAME

Nephia::Plugin::CSRFDefender - CSRF Defender Plugin for Nephia

SYNOPSIS

package MyApp;
use strict;
use warnings;
use Nephia plugins => [
    'PlackSession',
    'CSRFDefender'
];

DESCRIPTION

Nephia::Plugin::CSRFDefender denies CSRF request.

METHODS

get_csrf_defender_token()

Get a CSRF defender token.

validate_csrf()

Validate CSRF token manually.

SEE ALSO

Nephia

Amon2::Plugin::Web::CSRFDefender

LICENSE

Copyright (C) papix.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

papix <mail@papix.net>