blib/lib/Lemonldap/NG/Portal/Auth/Null.pm

filter: Statementstmt 56.5% 13 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 44.4% 4 / 9 Podpod 0.0% 0 / 6 totaltotal 44.7% 17 / 38 CC 1 SCAR 4.4
CC
1
Cov
57%
extractFormInfo
2.0
authenticate
2.0
setAuthSessionInfo
2.0
CRAP 1.6
« 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 7 ▶sub init {
Subroutine init: called CC=1 SCAR=0.0
Pod undocumented
14 7 return 1;
15 }
16  
17 # RUNNING METHODS
18  
19 0 ▶sub extractFormInfo {
Subroutine extractFormInfo: not called CC=1 SCAR=6.9
Pod undocumented
20 0 my ( $self, $req ) = @_;
21 0 $req->user('anonymous');
22 0 return PE_OK;
23 }
24  
25 0 ▶sub authenticate {
Subroutine authenticate: not called CC=1 SCAR=6.9
Pod undocumented
26 0 return PE_OK;
27 }
28  
29 0 ▶sub setAuthSessionInfo {
Subroutine setAuthSessionInfo: not called CC=1 SCAR=6.9
Pod undocumented
30 0 my ( $self, $req ) = @_;
31 0 $req->{sessionInfo}->{'_user'} = 'anonymous';
32 0 $req->{sessionInfo}->{authenticationLevel} = $self->conf->{nullAuthnLevel};
33 0 return PE_OK;
34 }
35  
36 0 ▶sub authLogout {
Subroutine authLogout: not called CC=1 SCAR=6.9
Pod undocumented
37 0 return PE_OK;
38 }
39  
40 0 ▶sub getDisplayType {
Subroutine getDisplayType: not called CC=1 SCAR=6.9
Pod undocumented
41 0 return '';
42 }
43  
44 6 1;
« blib/lib/Lemonldap/NG/Portal/Main/SecondFactor.pm ↑ Summary blib/lib/Lemonldap/NG/Portal/Auth/Demo.pm »