Dancer2-Plugin-SPID
view release on metacpan or search on metacpan
# Dancer2::Plugin::SPID
Dancer2 plugin for for SPID authentication
[](https://developersitalia.slack.com/messages/C7ESTMQDQ)
[](https://slack.developers.italia.it/)
[](https://forum.italia.it/c/spid) [](https://travis-ci.org/italia/spid-perl-dancer2) [ is the Italian digital identity sy...
This module provides the highest level of abstraction and ease of use for integration of SPID in a Dancer2 web application. Just set a few configuration options and you'll be able to generate the HTML markup for the SPID button on the fly (to be comp...
See the [example/](example/) directory for a demo application.
This is module is based on [Net::SPID](https://github.com/italia/spid-perl) which provides the lower-level framework-independent implementation of SPID for Perl.
## Repository layout
* [example/](example/) contains a demo application based on Dancer2
lib/Dancer2/Plugin/SPID.pm view on Meta::CPAN
};
hook 'plugin.SPID.after_logout' => sub {
debug "User " . spid_session->nameid . " logged out";
};
dance;
=head1 ABSTRACT
This Perl module is a plugin for the L<Dancer2> web framework. It allows developers of SPID Service Providers to easily add SPID authentication to their Dancer2 applications. L<SPID|https://www.spid.gov.it/> is the Italian digital identity system, wh...
This module provides the highest level of abstraction and ease of use for integration of SPID in a Dancer2 web application. Just set a few configuration options and you'll be able to generate the HTML markup for the SPID button on the fly (to be comp...
See the F<example/> directory for a demo application.
This is module is based on L<Net::SPID> which provides the lower-level framework-independent implementation of SPID for Perl.
=head1 CONFIGURATION
Configuration options can be set in the Dancer2 config file:
( run in 0.240 second using v1.01-cache-2.11-cpan-4d50c553e7e )