| Business-Travel-OTA documentation | Contained in the Business-Travel-OTA distribution. |
Business::Travel::OTA::Authentication - Base class for OTA authentication approaches
# TBD
Base class for OTA authentication approaches
* Author: Stephen Adkins <sadkins@therubicongroup.com> * Copyright: (c) 2007 Stephen Adkins (for the purpose of making it Free) * License: This is free software. It is licensed under the same terms as Perl itself.
| Business-Travel-OTA documentation | Contained in the Business-Travel-OTA distribution. |
############################################################################# ## File: $Id: Authentication.pm,v 1.2 2006/12/08 20:22:43 spadkins Exp $ ############################################################################# package Business::Travel::OTA::Authentication; use strict; use vars qw($VERSION @ISA); $VERSION = do { my @r=(q$Revision: 1.2 $=~/\d+/g); sprintf "%d."."%02d"x$#r,@r}; use App; use App::Service; @ISA = qw(App::Service);
sub authenticate { &App::sub_entry if ($App::trace); my ($self, $username) = @_; my $authenticated = 1; &App::sub_exit($authenticated) if ($App::trace); return($authenticated); }
1;