| Authen-PAAS documentation | view source | Contained in the Authen-PAAS distribution. |
Authen::PAAS::SimpleCallback - A callback implementation with static data
use Authen::PAAS::SimpleCallback; my $cb = Authen::PAAS::SimpleCallback->new(data => "joe"); print $cb->data, "\n";
This module provides a trivial subclass of the Authen::PAAS::Callback which always returns a pre-defined chunk of static data.
Create a new callback object which will later provide the piece
of static data defined by the data parameter. The data can be
of an arbitrary Perl data type, it is treated opaquely by this
module.
Retrieve the data associated with this callback object. The returned data will be that which was orginally passed into the constructor.
Daniel Berrange <dan@berrange.com>
Copyright (C) 2004-2006 Daniel Berrange
| Authen-PAAS documentation | view source | Contained in the Authen-PAAS distribution. |