Catalyst-Authentication-Credential-OpenID

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

recommends:
  Config::General: 2
  LWPx::ParanoidAgent: 1.03
  Math::BigInt: 0
  YAML: 0.6
requires:
  Cache::FastMmap: 1.28
  Catalyst: 5.7
  Catalyst::Devel: 1
  Catalyst::Plugin::Authentication: 0
  Catalyst::Plugin::Session::State::Cookie: 0.08
  Catalyst::Plugin::Session::Store::FastMmap: 0.05
  Class::Accessor::Fast: 0
  HTML::Parser: 3
  LWP::UserAgent: 0
  Net::OpenID::Consumer: 1.03
resources:
  license: http://dev.perl.org/licenses/
  repository: http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Authentication-Credential-OpenID/
version: 0.19

MYMETA.json  view on Meta::CPAN

            "Config::General" : "2",
            "LWPx::ParanoidAgent" : "1.03",
            "Math::BigInt" : "0",
            "YAML" : "0.6"
         },
         "requires" : {
            "Cache::FastMmap" : "1.28",
            "Catalyst" : "5.7",
            "Catalyst::Devel" : "1",
            "Catalyst::Plugin::Authentication" : "0",
            "Catalyst::Plugin::Session::State::Cookie" : "0.08",
            "Catalyst::Plugin::Session::Store::FastMmap" : "0.05",
            "Class::Accessor::Fast" : "0",
            "HTML::Parser" : "3",
            "LWP::UserAgent" : "0",
            "Net::OpenID::Consumer" : "1.03"
         }
      }
   },
   "release_status" : "stable",
   "resources" : {

MYMETA.yml  view on Meta::CPAN

recommends:
  Config::General: 2
  LWPx::ParanoidAgent: 1.03
  Math::BigInt: 0
  YAML: 0.6
requires:
  Cache::FastMmap: 1.28
  Catalyst: 5.7
  Catalyst::Devel: 1
  Catalyst::Plugin::Authentication: 0
  Catalyst::Plugin::Session::State::Cookie: 0.08
  Catalyst::Plugin::Session::Store::FastMmap: 0.05
  Class::Accessor::Fast: 0
  HTML::Parser: 3
  LWP::UserAgent: 0
  Net::OpenID::Consumer: 1.03
resources:
  license: http://dev.perl.org/licenses/
  repository: http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Authentication-Credential-OpenID/
version: 0.19

Makefile.PL  view on Meta::CPAN


requires "Class::Accessor::Fast" => undef;
requires "HTML::Parser"     => "3";
requires "LWP::UserAgent"    => undef;
requires "Cache::FastMmap"    => "1.28";
requires "Catalyst"       => "5.7";
requires "Catalyst::Devel"    => "1";
requires "Net::OpenID::Consumer" => "1.03";
requires "Catalyst::Plugin::Authentication";
requires "Catalyst::Plugin::Session::Store::FastMmap" => "0.05";
requires "Catalyst::Plugin::Session::State::Cookie" => "0.08";

recommends "Config::General"     => "2";
recommends "YAML"                => "0.6";
recommends "Math::BigInt"        => undef;
recommends "LWPx::ParanoidAgent" => "1.03";

test_requires "Catalyst::Engine::HTTP";

test_requires "Test::More"      => "0.42";
# test_requires "Test::WWW::Mechanize" => "1.20";
# test_requires "Net::OpenID::Server" => "1.02";
# test_requires "Net::DNS"       => undef;
# test_requires "IO::Socket::INET"   => undef;

author_tests 't/author';
author_requires(
   'Test::WWW::Mechanize' => undef,
   'Catalyst::Runtime' => undef,
   'Catalyst::Devel' => undef,
   'Cache::FastMmap' => undef,
   'Catalyst::Plugin::Session::State::Cookie' => undef,
   'Catalyst::Plugin::Session::Store::FastMmap' => undef,
   'Class::Accessor::Fast' => undef,
   'Crypt::DH' => undef,
   'ExtUtils::MakeMaker' => undef,
   'HTML::Parser' => 3,
   'LWP::UserAgent' => undef,
   'Net::OpenID::Consumer' => undef,
   'Net::OpenID::Server' => undef,
   'Test::WWW::Mechanize' => undef,
   'Net::DNS' => undef,

README  view on Meta::CPAN

    If for some reason you would prefer the legacy/fatal behavior, set the
    configuration variable "errors_are_fatal" to a true value.

SYNOPSIS
    In MyApp.pm-

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

    Somewhere in myapp.conf-

     <Plugin::Authentication>
         default_realm   openid
         <realms>
             <openid>
                 <credential>
                     class   OpenID

lib/Catalyst/Authentication/Credential/OpenID.pm  view on Meta::CPAN

The problems encountered by failed OpenID operations have always been fatals in the past. This is unexpected behavior for most users as it differs from other credentials. Authentication errors here are no longer fatal. Debug/error output is improved ...

=head1 SYNOPSIS

In MyApp.pm-

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

Somewhere in myapp.conf-

 <Plugin::Authentication>
     default_realm   openid
     <realms>
         <openid>
             <credential>
                 class   OpenID

t/Consumer/lib/TestApp.pm  view on Meta::CPAN

use warnings;

use Catalyst::Runtime '5.70';

use Catalyst qw(
                -Debug
                ConfigLoader
                Authentication
                Session
                Session::Store::FastMmap
                Session::State::Cookie
                );

our $VERSION = '0.00001';

__PACKAGE__->config
    ( name => "TestApp",
      session => {
          storage => "/tmp/" . __PACKAGE__ . "-" . $VERSION,
      },
      startup_time => time(),

t/Provider/lib/TestApp.pm  view on Meta::CPAN

use warnings;

use Catalyst::Runtime '5.70';

use Catalyst qw(
                -Debug
                ConfigLoader
                Authentication
                Session
                Session::Store::FastMmap
                Session::State::Cookie
                );

our $VERSION = '0.00002';

__PACKAGE__->config
    ( name => "TestApp",
      session => {
          storage => "/tmp/" . __PACKAGE__ . "-" . $VERSION,
      },
      startup_time => time(),

t/live-app.t  view on Meta::CPAN

use FindBin;
use IO::Socket;
use Test::More;

eval <<_DEPS_;
   use Test::WWW::Mechanize;
   use Catalyst::Runtime;
   use Catalyst::Devel;
   use Cache::FastMmap;
   use Catalyst::Authentication::User::Hash;
   use Catalyst::Plugin::Session::State::Cookie;
   use Catalyst::Plugin::Session::Store::FastMmap;
   use Class::Accessor::Fast;
   use Crypt::DH;
   use ExtUtils::MakeMaker;
   use HTML::Parser 3;
   use LWP::UserAgent;
   use Net::OpenID::Consumer;
   use Net::OpenID::Server;
   use Test::WWW::Mechanize;
   use Net::DNS;



( run in 0.508 second using v1.01-cache-2.11-cpan-e9199f4ba4c )