The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

SYNOPSIS

  use Catalyst qw/
      Authentication
      Authentication::Credential::AOL
      Session
      Session::Store::FastMmap
      Session::State::Cookie
  /;

  MyApp->config(
      authentication => {
          use_session => 1, # default 1. see C::P::Authentication
          aol => {
              devId => 'AOL_DEVELOPER_TOKEN',
          },
      },
  );

  sub login_aol : local {
      my($self, $c) = @_;

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

      # login failed
  }

  # in your templates
  <a href="[% c.uri_for('/login_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