| 1 | # LLNG platform class for auto-protected PSGI | ||||||||||
| 2 | # | ||||||||||
| 3 | # See https://lemonldap-ng.org/documentation/latest/handlerarch | ||||||||||
| 4 | package Lemonldap::NG::Handler::PSGI; | ||||||||||
| 5 | |||||||||||
| 6 | 22 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | 22 | ▶ | use Mouse; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | 22 | ▶ | use Lemonldap::NG::Handler::PSGI::Main; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | |||||||||||
| 10 | 22 | extends 'Lemonldap::NG::Handler::Lib::PSGI', 'Lemonldap::NG::Common::PSGI'; | |||||||||
| 11 | |||||||||||
| 12 | 22 | our $VERSION = '2.21.0'; | |||||||||
| 13 | |||||||||||
| 14 | 43 | ▶ | sub init { | ||||||||
|
Subroutine
init: called CC=3 SCAR=11.0
Pod
undocumented
| |||||||||||
| 15 | 43 | my ( $self, $args ) = @_; | |||||||||
| 16 | 43 | ▶ | $self->api('Lemonldap::NG::Handler::PSGI::Main') unless ( $self->api ); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 17 | 43 | ▶ | return 0 unless $self->Lemonldap::NG::Handler::Lib::PSGI::init($args); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 18 | |||||||||||
| 19 | 41 | return $self->Lemonldap::NG::Common::PSGI::init( $self->api->localConfig ); | |||||||||
| 20 | } | ||||||||||
| 21 | |||||||||||
| 22 | 22 | 1; | |||||||||
| 23 | __END__ | ||||||||||