logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Authen::Simple - Simple Authentication

Author

       Christian Hansen "chansen@cpan.org"

Description

       Simple and consistent framework for authentication.

Methods

       •   new

           This method takes an array of "Authen::Simple" adapters. Required.

       •   authenticate( $username, $password )

           Returns true on success and false on failure.

Name

       Authen::Simple - Simple Authentication

See Also

       Authen::Simple::ActiveDirectory.

       Authen::Simple::CDBI.

       Authen::Simple::DBI.

       Authen::Simple::FTP.

       Authen::Simple::HTTP.

       Authen::Simple::Kerberos.

       Authen::Simple::LDAP.

       Authen::Simple::NIS.

       Authen::Simple::PAM.

       Authen::Simple::Passwd.

       Authen::Simple::POP3.

       Authen::Simple::RADIUS.

       Authen::Simple::SMB.

       Authen::Simple::SMTP.

       Authen::Simple::SSH.

Synopsis

           use Authen::Simple;
           use Authen::Simple::Kerberos;
           use Authen::Simple::SMB;

           my $simple = Authen::Simple->new(
               Authen::Simple::Kerberos->new( realm => 'REALM.COMPANY.COM' ),
               Authen::Simple::SMB->new( domain => 'DOMAIN', pdc => 'PDC' )
           );

           if ( $simple->authenticate( $username, $password ) ) {
               # successfull authentication
           }

See Also