Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

/var/sites/help-site.com/auto/tmp/CPAN/9677/Jifty-0.71129/lib/Jifty/Plugin/Authentication/Facebook.pm

/var/sites/help-site.com/auto/tmp/CPAN/9677/Jifty-0.71129/lib/Jifty/Plugin/Authentication/Facebook.pm


NAME

Jifty::Plugin::Authentication::Facebook

DESCRIPTION

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.


SYNOPSIS

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 the WWW::Facebook::API manpage 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 the Jifty::Plugin::Authentication::Facebook::View manpage for the provided templates and the Jifty::Plugin::Authentication::Facebook::Dispatcher manpage for the URLs handled.

init

api

Generates a new the WWW::Facebook::API manpage 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

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy