Daniel P. Berrangé > Authen-PAAS-1.1.1 > Authen::PAAS::Callback

Download:
Authen-PAAS-1.1.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View Bugs
Report a bug
Module Version: 1.0.0   Source  

NAME ^

Authen::PAAS::Callback - callback for retrieving authentication data

SYNOPSIS ^

  use Authen::PAAS::Callback;

  my $callback = Authen::PAAS::Callback::SOMECLASS->new();
  my $data = $callback->data;

DESCRIPTION ^

This module provides an mechanism for login modules to retrieve authentication data from an external party, without having to know the means of communication between the application and the user. So, a login module can merely lookup the callback associated with the key username, and ask it for data, regardless of whether the callback reads the username from the console, pops up a dialog box, or fetches it from the HTTP headers.

METHODS ^

my $callback = Authen::PAAS::Callback->new();

Creates a new callback object. There are no required parameters to this constructor.

my $data = $callback->data;

Retrieves the data from this callback. This method must be implemented by the subclass, and it is entirely upto the subclass how the data is collected from the user.

AUTHORS ^

Daniel Berrange <dan@berrange.com>

COPYRIGHT ^

Copyright (C) 2004-2006 Daniel Berrange

SEE ALSO ^

Authen::PAAS::Context, Authen::PAAS::LoginModule