Catalyst-Plugin-Authentication

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.10_025 - 2026-05-19
    - fix password comparison to avoid timing attacks (CVE-2026-5091)

0.10024 - 2024-10-16
    - update to prefer modern Catalyst APIs
    - silence expected warnings in tests
    - move repository to GitHub
    - convert tests from Test::WWW::Mechanize::Catalyst to Catalyst::Test
    - don't load unneeded Tie::RefHash
    - switch from Digest::SHA1 to Digest::SHA
    - switch from Test::Exception to Test::Fatal
    - drop unused dependency Class::Inspector
    - Don't load password when password_type is 'none',
      for example when used for authorization

0.10023 11 Jan 2013
   - Add Howto on using the auth from the proxy server with
     ::Credential::Remote (Robert Rothenberg)

0.10022 08 Jan 2013
    - Fix NoPasswd store (skaufman)

META.json  view on Meta::CPAN

            "MRO::Compat" : "0",
            "Moose" : "0",
            "MooseX::Emulate::Class::Accessor::Fast" : "0",
            "String::RewritePrefix" : "0",
            "Try::Tiny" : "0",
            "namespace::autoclean" : "0"
         }
      },
      "test" : {
         "requires" : {
            "Test::Fatal" : "0",
            "Test::More" : "0.88"
         }
      }
   },
   "release_status" : "stable",
   "resources" : {
      "bugtracker" : {
         "mailto" : "bug-Catalyst-Plugin-Authentication@rt.cpan.org",
         "web" : "https://rt.cpan.org/Public/Dist/Display.html?Name=Catalyst-Plugin-Authentication"
      },

META.yml  view on Meta::CPAN

---
abstract: 'Infrastructure plugin for the Catalyst authentication framework.'
author:
  - 'Yuval Kogman <nothingmuch@woobling.org>'
build_requires:
  Test::Fatal: '0'
  Test::More: '0.88'
configure_requires:
  ExtUtils::MakeMaker: '0'
dynamic_config: 1
generated_by: 'ExtUtils::MakeMaker version 7.78, CPAN::Meta::Converter version 2.150013'
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: Catalyst-Plugin-Authentication

Makefile.PL  view on Meta::CPAN

my %META = (
  name => 'Catalyst-Plugin-Authentication',
  license => 'perl_5',
  prereqs => {
    configure => { requires => {
      'ExtUtils::MakeMaker' => 0,
    } },
    test => {
      requires => {
        'Test::More' => '0.88',
        'Test::Fatal' => 0,
      },
    },
    runtime => {
      requires => {
        'Catalyst::Runtime' => 0,
        'MRO::Compat' => 0,
        'Moose' => 0,
        'MooseX::Emulate::Class::Accessor::Fast' => 0,
        'namespace::autoclean' => 0,
        'String::RewritePrefix' => 0,

t/05_password.t  view on Meta::CPAN

use strict;
use warnings;

use Test::More tests => 11;
use Test::Fatal;
use Class::MOP;
use Class::MOP::Class;
use Moose::Object;

# 1,2
my $m; BEGIN { use_ok($m = "Catalyst::Authentication::Credential::Password") }
can_ok($m, "authenticate");

my $app_meta = Class::MOP::Class->create_anon_class( superclasses => ['Moose::Object'] );
my $realm_meta = Class::MOP::Class->create_anon_class( superclasses => ['Moose::Object'] );

t/06_user.t  view on Meta::CPAN

use strict;
use warnings;

use Test::More;
use Test::Fatal;

my $m; BEGIN { use_ok($m = "Catalyst::Authentication::User") }

{
    package SomeBaseUser;
    sub other_method { 'FNAR' };
}

{
    package SomeUser;

t/lib/AuthTestApp/Controller/Root.pm  view on Meta::CPAN

package AuthTestApp::Controller::Root;
use strict;
use warnings;
use base qw/ Catalyst::Controller /;

__PACKAGE__->config( namespace => '' );

use Test::More;
use Test::Fatal;

use Digest::MD5 qw/md5/;
use Digest::SHA qw/sha1_base64/;

sub number_of_elements { return scalar @_ }

sub moose : Local {
    my ( $self, $c ) = @_;

    is(number_of_elements($c->user), 1, "Array undef");



( run in 1.139 second using v1.01-cache-2.11-cpan-54e63673c56 )