Dancer2-Plugin-SPID

 view release on metacpan or  search on metacpan

README.md  view on Meta::CPAN

# Dancer2::Plugin::SPID
Dancer2 plugin for for SPID authentication

[![Join the #spid-perl channel](https://img.shields.io/badge/Slack%20channel-%23spid--perl-blue.svg?logo=slack)](https://developersitalia.slack.com/messages/C7ESTMQDQ)
[![Get invited](https://slack.developers.italia.it/badge.svg)](https://slack.developers.italia.it/)
[![SPID on forum.italia.it](https://img.shields.io/badge/Forum-SPID-blue.svg)](https://forum.italia.it/c/spid) [![Build Status](https://travis-ci.org/italia/spid-perl-dancer2.svg?branch=master)](https://travis-ci.org/italia/spid-perl-dancer2) [![Meta...

This Perl module is a plugin for the well-known Dancer2 web framework. It allows developers of SPID Service Providers to easily add SPID authentication to their Dancer2 applications. [SPID](https://www.spid.gov.it/) 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.241 second using v1.01-cache-2.11-cpan-4d50c553e7e )