« blib/lib/Lemonldap/NG/Portal/UserDB/Remote.pm
↑ Summary
blib/lib/Lemonldap/NG/Portal/Lib/OIDCPlugin.pm »
| 1 | package Lemonldap::NG::Portal::UserDB::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 'PE_OK'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 4 | extends 'Lemonldap::NG::Portal::Main::UserDB'; | |||||||||
| 8 | |||||||||||
| 9 | 4 | our $VERSION = '2.19.0'; | |||||||||
| 10 | |||||||||||
| 11 | # INITIALIZATION | ||||||||||
| 12 | |||||||||||
| 13 | 4 | ▶ | sub init { | ||||||||
|
Subroutine
init: called CC=2 SCAR=6.9
Pod
undocumented
| |||||||||||
| 14 | 4 | my ($self) = @_; | |||||||||
| 15 | 4 | ▶ | if ( $self->conf->{proxyUseSoap} ) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 16 | 1 | extends 'Lemonldap::NG::Portal::Main::UserDB', | |||||||||
| 17 | 'Lemonldap::NG::Portal::Lib::SOAPProxy'; | ||||||||||
| 18 | } | ||||||||||
| 19 | else { | ||||||||||
| 20 | 3 | extends 'Lemonldap::NG::Portal::Main::UserDB', | |||||||||
| 21 | 'Lemonldap::NG::Portal::Lib::RESTProxy'; | ||||||||||
| 22 | } | ||||||||||
| 23 | 4 | return $self->SUPER::init(); | |||||||||
| 24 | } | ||||||||||
| 25 | |||||||||||
| 26 | 4 | 1; | |||||||||