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;
45 SL::Auth::Constants - COnstants for Auth module
49 use SL::Auth::Constants qw(:all);
51 OK == $auth->authenticate($user, $pass) or die;
55 This module provides status constants for authentication handling