Catalyst::Authentication::Credential::TypeKey - TypeKey authentication (in new Catalyst Authentication )
Version 0.005
Authenticate Catalyst apps with TypeKey system.
Uses the Catalyst::Plugin::Authentication system. In MyApp.pm
use Catalyst qw( ... Authentication ... ); __PACKAGE__->config( 'authentication' => { typekey => { credential => { class => 'TypeKey', #Config below relies heavly on Authen::TypeKey key_cache => '/var/cache/webapp/myapp/', version => '1', skip_expiry_check => '1', key_url => 'http://www.typekey.com/extras/regkeys.txt', }, ... }, }, ); In your controller sub login : Local { # body... if ( $c->authenticate( { email => $c->req->param('email') }, 'typekey') ) { # SUCCESS } else { # FAILED } }
Authen::TypeKey, Catalyst, Catalyst::Plugin::Authentication.
zdk
The idea was from https://github.com/omega/catalyst-authentication-credential-typekey
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
Standard authentication method
To install Catalyst::Authentication::Credential::TypeKey, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Authentication::Credential::TypeKey
CPAN shell
perl -MCPAN -e shell install Catalyst::Authentication::Credential::TypeKey
For more information on module installation, please visit the detailed CPAN module installation guide.