NAME

Catalyst::Authentication::Credential::MultiFactor

Version 1.2

DESCRIPTION

Provides multi-factor authentication to your Catalyst app Uses the Catalyst::Plugin::Authentication system.

SYNOPSIS

use Catalyst qw(
  ...
  Authentication
  ...
  );

__PACKAGE__->config(
  name => 'myApp',

  ....

  'Plugin::Authentication' => {
    ...
    default => {
      credential => {
        class => 'MultiFactor',                                                                                                                                                                                                                                  
        factors  => [
          {
            class        => 'YubiKey',
            api_id       => 1337,
            api_key      => 'foo/BAr/baz818=',
          },
          {
            class         => 'Password',
            user_model    => 'DB::login',
            password_type => 'self_check',
          },
          .... add more plugins!
        ],
      },
    },
  },
);

INSTALLATION

To install this module type the following:

 perl Makefile.PL
 make
 make test
 make install

DEPENDENCIES

This module requires these other modules and libraries:

Moose
namespace::autoclean
Copyright (C) 2012 by Cédric Jeanneret

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.14.2 or,
at your option, any later version of Perl 5 you may have available.

3 POD Errors

The following errors were encountered while parsing the POD:

Around line 63:

Unknown directive: =head

Around line 124:

Unknown directive: =head

Around line 126:

Non-ASCII character seen before =encoding in 'Cédric'. Assuming UTF-8