NAME
    Catalyst::Authentication::Credential::RPX - Use JanRain's RPX service
    for Credentials

VERSION
    version 0.10003903

SYNOPSIS
        use Catalyst qw/ Authentication /;

        package MyApp::Controller::Auth;

        sub login : Local {
            my ( $self , $c ) = @_;
            $c->authenticate();
        }

CONFIGURATION
        __PACKAGE__->config('Plugin::Authenticate' => {
          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',
              }
            }
          }
        });

ATTRIBUTES
  api_key
    The API Key for connecting to the RPX server.

   type: ro required Str
  base_url
    The URL The RPX server interconnects with.

   type: ro Str predicate=has_base_url
  ua
    The User-Agent String.

   type: ro Str predicate=has_ua
  token_field
    The token to look for in request parameters

   type: ro Str default = 'token
  last_auth_info
    The results of the last call to "->auth_info"

   type: rw HashRef predicate = has_last_auth_info clearer = clear_last_auth_info
PRIVATE ATTRIBUTES
  _config
   type: rw required HashRef
  _app
   type: rw required Object
  _realm
   type: rw required Object
  _api_driver
   type: ro lazy_build Object
   handles: auth_info map unmap mappings
METHODS
  CONSTRUCTOR
   new
    This method is called by the Authentication API.

   signature: ->new( $config , $app , $realm );
  BUILDERS ( Private )
   _build__api_driver
    Creates an instance of Net::API::RPX for us to communicate with.

   signature: ->_build__api_driver
  AUTHENTICATION
   authenticate
   signature: ->authenticate( $context, $realm, $authinfo )
   authenticate_rpx
   signature: ->authenticate_rpx( @args )
AUTHOR
      Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE
    This software is Copyright (c) 2009 by 'Cloudtone Studios'.

    This is free software, licensed under:

      The (three-clause) BSD License

