Tatsuhiko Miyagawa > Catalyst-Plugin-Authentication-Credential-AOL-0.02 > Catalyst::Plugin::Authentication::Credential::AOL

Download:
Catalyst-Plugin-Authentication-Credential-AOL-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Catalyst::Plugin::Authentication::Credential::AOL - AOL OpenAuth credential

SYNOPSIS ^

  # myapp.yaml
  authentication:
    aol:
      devId: AOL_DEVELOPER_TOKEN

  # MyApp.pm
  package MyApp;
  use Catalyst qw/
      Authentication
      Authentication::Credential::AOL
      Session
      Session::Store::FastMmap
      Session::State::Cookie
  /;

  # MyApp/Controller/Signin.pm
  sub aol : Local {
      my($self, $c) = @_;

      if ($c->authenticate_aol) {
          # login succeed
          $c->res->redirect("/");
      }

      # login failed
  }

  # in your templates
  <a href="[% c.uri_for('/signin/aol') | html %]">Sign in via AOL</a>

DESCRIPTION ^

Catalyst::Plugin::Authentication::Credential::AOL is a Catalyst Authentication credential plugin for AOL OpenAuth. Since AOL does OpenID you can just use OpenID credential, but OpenAuth gives more granular control over authentication.

AUTHOR ^

Tatsuhiko Miyagawa <miyagawa@bulknews.net>

LICENSE ^

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO ^

Catalyst::Plugin::Authentication, Catalyst::Plugin::Authentication::Credential::OpenID, http://dev.aol.com/openauth

syntax highlighting: