1 package SL::Auth::Constants;
 
   5 use Exporter qw(import);
 
  22 # add all the other ":class" tags to the ":all" class,
 
  26  push @{$EXPORT_TAGS{all}}, grep {!$seen{$_}++} @$_ for values %EXPORT_TAGS;
 
  29 Exporter::export_ok_tags('all');
 
  32 use constant ERR_PASSWORD    =>   1;
 
  33 use constant ERR_BACKEND     => 100;
 
  35 use constant SESSION_OK      =>   0;
 
  36 use constant SESSION_NONE    =>   1;
 
  37 use constant SESSION_EXPIRED =>   2;
 
  47 SL::Auth::Constants - COnstants for Auth module
 
  51   use SL::Auth::Constants qw(:all);
 
  53   OK == $auth->authenticate($user, $pass) or die;
 
  57 This module provides status constants for authentication handling
 
  65 Sven Schöling E<lt>s.schoeling@linet-services.deE<gt>