lemonldap-ng/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Null.pm
2016-06-09 18:40:20 +00:00

42 lines
467 B
Perl

package Lemonldap::NG::Portal::Auth::Null;
use strict;
use Mouse;
use Lemonldap::NG::Portal::Main::Constants;
our $VERSION = '2.0.0';
extends 'Lemonldap::NG::Portal::Auth::Base';
# INITIALIZATION
sub init {
1;
}
# RUNNING METHODS
sub extractFormInfo {
my ( $self, $req ) = @_;
$req->user('anonymous');
PE_OK;
}
sub authenticate {
PE_OK;
}
sub authForce {
0;
}
sub authLogout {
PE_OK;
}
sub getDisplayType {
return '';
}
1;