« blib/lib/Lemonldap/NG/Portal/Register/Custom.pm
↑ Summary
blib/lib/Lemonldap/NG/Portal/Lib/_tokenRule.pm »
| 1 | package Lemonldap::NG::Portal::Auth::Proxy; | ||||||||||
| 2 | |||||||||||
| 3 | 4 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 4 | ▶ | use Mouse; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 4 | ▶ | use Lemonldap::NG::Portal::Main::Constants qw(PE_OK); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 4 | our $VERSION = '2.0.12'; | |||||||||
| 8 | |||||||||||
| 9 | 4 | extends 'Lemonldap::NG::Portal::Auth::_WebForm'; | |||||||||
| 10 | |||||||||||
| 11 | # INITIALIZATION | ||||||||||
| 12 | |||||||||||
| 13 | 4 | ▶ | sub init { | ||||||||
|
Subroutine
init: called CC=3 SCAR=11.0
Pod
undocumented
| |||||||||||
| 14 | 4 | my $self = shift; | |||||||||
| 15 | 4 | ▶ | return 0 unless $self->Lemonldap::NG::Portal::Auth::_WebForm::init(); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 16 | 4 | ▶ | if ( $self->conf->{proxyUseSoap} ) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 17 | 1 | extends 'Lemonldap::NG::Portal::Lib::SOAPProxy', | |||||||||
| 18 | 'Lemonldap::NG::Portal::Auth::_WebForm'; | ||||||||||
| 19 | } | ||||||||||
| 20 | else { | ||||||||||
| 21 | 3 | extends 'Lemonldap::NG::Portal::Lib::RESTProxy', | |||||||||
| 22 | 'Lemonldap::NG::Portal::Auth::_WebForm'; | ||||||||||
| 23 | } | ||||||||||
| 24 | 4 | return $self->SUPER::init(); | |||||||||
| 25 | } | ||||||||||
| 26 | |||||||||||
| 27 | # RUNNING METHODS | ||||||||||
| 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}->{authenticationLevel} = $self->conf->{proxyAuthnLevel}; | |||||||||
| 32 | 0 | return PE_OK; | |||||||||
| 33 | } | ||||||||||
| 34 | |||||||||||
| 35 | 5 | ▶ | sub getDisplayType { | ||||||||
|
Subroutine
getDisplayType: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 36 | 5 | return "standardform"; | |||||||||
| 37 | } | ||||||||||
| 38 | |||||||||||
| 39 | 4 | 1; | |||||||||