Null.pm 477 Bytes
Newer Older
Yadd's avatar
Yadd committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
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';

sub init {
    1;
}

sub extractFormInfo {
    my ( $self, $req ) = @_;
    $req->user('anonymous');
    PE_OK;
}

sub authenticate {
    PE_OK;
}

sub authForce {
    PE_OK;
}

sub authLogout {
    PE_OK;
}

Yadd's avatar
Yadd committed
33 34 35 36 37 38 39 40
sub getDisplayType {
    return 'logo';
}

sub getDisplayType {
    return '';
}

Yadd's avatar
Yadd committed
41
1;