Catalyst::Authentication::Credential::RPX - Use JanRain's RPX service for Credentials
version 0.10060100
use Catalyst qw/ Authentication /; package MyApp::Controller::Auth; sub login : Local { my ( $self , $c ) = @_; $c->authenticate(); }
__PACKAGE__->config('Plugin::Authentication' => { default_realm => 'RPX_Service', realms => { RPX_Service => { credential => { class => 'RPX', # Package Options api_key => 'ASDF...', # optional fields base_url => 'http://foo.bar.org', ua => 'Firefox', token_field => 'token', } } } });
The API Key for connecting to the RPX server.
The URL The RPX server interconnects with.
The User-Agent String.
The token to look for in request parameters
The results of the last call to ->auth_info
->auth_info
->authenticate( $context, $realm, $authinfo )
->authenticate_rpx( @args )
This method is called by the Authentication API.
->new( $config , $app , $realm );
unmap
Creates an instance of Net::API::RPX for us to communicate with.
Net::API::RPX
->_build__api_driver
Kent Fredric <kentnl@cpan.org>
This software is Copyright (c) 2012 by 'Cloudtone Studios'.
This is free software, licensed under:
The (three-clause) BSD License
To install Catalyst::Authentication::Credential::RPX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Authentication::Credential::RPX
CPAN shell
perl -MCPAN -e shell install Catalyst::Authentication::Credential::RPX
For more information on module installation, please visit the detailed CPAN module installation guide.