Catalyst-Authentication-Credential-Authen-Simple

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

---
abstract: 'Verify credentials with the Authen::Simple framework'
author:
  - 'Jose Luis Martinez Torres <jlmartin@cpan.org>'
build_requires:
  Test::More: 0
  Test::Simple: 0.44
configure_requires:
  ExtUtils::MakeMaker: 6.30
dynamic_config: 0
generated_by: 'Dist::Zilla version 4.300028, CPAN::Meta::Converter version 2.120921'
license: perl

Makefile.PL  view on Meta::CPAN

use strict;
use warnings;



use ExtUtils::MakeMaker 6.30;



my %WriteMakefileArgs = (
  "ABSTRACT" => "Verify credentials with the Authen::Simple framework",
  "AUTHOR" => "Jose Luis Martinez Torres <jlmartin\@cpan.org>",
  "BUILD_REQUIRES" => {
    "Test::More" => 0,
    "Test::Simple" => "0.44"
  },
  "CONFIGURE_REQUIRES" => {
    "ExtUtils::MakeMaker" => "6.30"
  },
  "DISTNAME" => "Catalyst-Authentication-Credential-Authen-Simple",
  "EXE_FILES" => [],

README  view on Meta::CPAN

NAME
    Catalyst::Authentication::Credential::Authen::Simple - Verify
    credentials with the Authen::Simple framework

SYNOPSIS
      use Catalyst qw(Authentication);
      # later on ...
      if ($c->authenticate({ username => 'myusername', 
                             password => 'mypassword' })){
        my $long_name = $c->user->get('LongName');
        # Hello Mr $long_name 
      }

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

    } else {
        $c->log->debug("None of the Authen::Simple classes authed $user") if $c->debug;;
        return;
    }
}

#################### main pod documentation begin ###################

=head1 NAME

Catalyst::Authentication::Credential::Authen::Simple - Verify credentials with the Authen::Simple framework

=head1 SYNOPSIS

  use Catalyst qw(Authentication);
  # later on ...
  if ($c->authenticate({ username => 'myusername', 
                         password => 'mypassword' })){
    my $long_name = $c->user->get('LongName');
    # Hello Mr $long_name 
  }

=head1 DESCRIPTION

This module helps your Cataylst Application authenticate against a lot of credential databases thanks to the Authen::Simple framework.

=head1 USAGE

Just configure your Catalyst App Authentication to use class 'Authen::Simple' as the credential verifier, and give it a set of Authen::Simple classes. You can pass arguments to the Authen::Simple:XXX class constructors with the 'args' key. Note that ...

  'Plugin::Authentication' => {
    'realms' => {
      'default' => {
        'store' => { ... }
        'credential' => {
          'class' => 'Authen::Simple',
          'authen' => [
            {
              'class' => 'Passwd',

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.970 second using v1.00-cache-2.02-grep-82fe00e-cpan-2c419f77a38b )