Jifty::Plugin::Authentication::Facebook(3pm)

Jifty::Plugin::Authentication::Facebook3pm

Facebook authentication plugin for jifty

Usage

In your jifty config.yml under the "framework" section:

    Plugins:
        - Authentication::Facebook:
            api_key: xxx
            secret: xxx

You may set any options which the "new" method of WWW::Facebook::API understands.

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.

init

api

Generates a new WWW::Facebook::API for the current user

get_login_url

Gets the login URL, preserving continuations

get_link_url

Gets the login URL used for linking, preserving continuations

Releases

Unchanged in 2 releases since Debian 6.0 (Squeeze).

  1. 6.0–7

Author

Alex Vandiver

License

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.

From libjifty-plugin-authentication-facebook-perl 0.90000-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.