Business::Travel::OTA::Authentication - Base class for OTA authentication approaches


Business-Travel-OTA documentation Contained in the Business-Travel-OTA distribution.

Index


Code Index:

NAME

Top

Business::Travel::OTA::Authentication - Base class for OTA authentication approaches

SYNOPSIS

Top

  # TBD

DESCRIPTION

Top

Base class for OTA authentication approaches

ACKNOWLEDGEMENTS

Top

 * 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.

SEE ALSO

Top


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;