NAME
Plack::Middleware::Auth::BrowserID - Plack Middleware to integrate with Mozilla Persona (Auth by email)
VERSION
version 0.0.1_04
SYNOPSIS
use Plack::Builder;
builder {
enable 'Session', store => 'File';
mount '/auth' => builder {
enable 'Auth::BrowserID', audience => 'http://localhost:8082/';
};
mount '/' => $app;
}
DESCRIPTION
Mozilla Persona is a secure solutions, to identify (login) users based on email address.
"Simple, privacy-sensitive single sign-in: let your users sign into your website with their email address, and free yourself from password management."
Some code is needed in the client side, please see the example on tests and read the Mozilla Persona info on MDN.
See the functional example on the example folder.
plackup -s Starman -r -p 8082 -E development -I lib example/app.psgi
SEE ALSO
Plack::Middleware::Session LWP::Protocol::https Net::BrowserID::Verify
AUTHOR
João Bolila <bolila@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by J. Bolila.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.