Cédric Jeanneret > Catalyst-Authentication-Credential-MultiFactor-1.0 > Catalyst::Authentication::Credential::MultiFactor

Download:
Catalyst-Authentication-Credential-MultiFactor-1.0.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.0   Source  

NAME ^

Catalyst::Authentication::Credential::MultiFactor

Version 1.0

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.
syntax highlighting: