« blib/lib/Lemonldap/NG/Portal/Main/SecondFactor.pm
↑ Summary
blib/lib/Lemonldap/NG/Portal/Auth/Demo.pm »
| 1 | package Lemonldap::NG::Portal::Auth::Null; | ||
| 2 | |||
| 3 | 6 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 6 | ▶ | use Mouse; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 6 | ▶ | use Lemonldap::NG::Portal::Main::Constants; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 6 | our $VERSION = '2.0.12'; | |
| 8 | |||
| 9 | 6 | extends 'Lemonldap::NG::Portal::Main::Auth'; | |
| 10 | |||
| 11 | # INITIALIZATION | ||
| 12 | |||
| 13 | sub init { | ||
| 14 | 7 | ▶ | return 1; |
|
Subroutine
init: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 15 | } | ||
| 16 | |||
| 17 | # RUNNING METHODS | ||
| 18 | |||
| 19 | sub extractFormInfo { | ||
| 20 | 0 | ▶ | my ( $self, $req ) = @_; |
|
Subroutine
extractFormInfo: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 21 | 0 | $req->user('anonymous'); | |
| 22 | 0 | return PE_OK; | |
| 23 | } | ||
| 24 | |||
| 25 | sub authenticate { | ||
| 26 | 0 | ▶ | return PE_OK; |
|
Subroutine
authenticate: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 27 | } | ||
| 28 | |||
| 29 | sub setAuthSessionInfo { | ||
| 30 | 0 | ▶ | my ( $self, $req ) = @_; |
|
Subroutine
setAuthSessionInfo: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 31 | 0 | $req->{sessionInfo}->{'_user'} = 'anonymous'; | |
| 32 | 0 | $req->{sessionInfo}->{authenticationLevel} = $self->conf->{nullAuthnLevel}; | |
| 33 | 0 | return PE_OK; | |
| 34 | } | ||
| 35 | |||
| 36 | sub authLogout { | ||
| 37 | 0 | ▶ | return PE_OK; |
|
Subroutine
authLogout: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 38 | } | ||
| 39 | |||
| 40 | sub getDisplayType { | ||
| 41 | 0 | ▶ | return ''; |
|
Subroutine
getDisplayType: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 42 | } | ||
| 43 | |||
| 44 | 6 | 1; | |