Jifty::Plugin::Authentication::Facebook - Facebook authentication plugin for Jifty
Provides standalone Facebook authentication for your Jifty application. It adds the columns facebook_name, facebook_uid, facebook_session, and facebook_session_expires to your User model.
facebook_name
facebook_uid
facebook_session
facebook_session_expires
In your jifty config.yml under the framework section:
framework
Plugins: - Authentication::Facebook: api_key: xxx secret: xxx
You may set any options which the new method of WWW::Facebook::API understands.
new
In your User model, you'll need to include the line
use Jifty::Plugin::Authentication::Facebook::Mixin::Model::User;
after your schema definition (which may be empty). You may also wish to include
sub _brief_description { 'facebook_name' }
To use the user's Facebook name as their description.
See Jifty::Plugin::Authentication::Facebook::View for the provided templates and Jifty::Plugin::Authentication::Facebook::Dispatcher for the URLs handled.
Generates a new WWW::Facebook::API for the current user
Gets the login URL, preserving continuations
Gets the login URL used for linking, preserving continuations
Alex Vandiver
Copyright 2005-2009 Best Practical Solutions, LLC.
This program is free software and may be modified and distributed under the same terms as Perl itself.
To install Jifty::Plugin::Authentication::Facebook, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Jifty::Plugin::Authentication::Facebook
CPAN shell
perl -MCPAN -e shell install Jifty::Plugin::Authentication::Facebook
For more information on module installation, please visit the detailed CPAN module installation guide.