DOKK / manpages / debian 12 / liblemonldap-ng-common-perl / Lemonldap::NG::Common::Util.3pm.en
Lemonldap::NG::Common::Util(3pm) User Contributed Perl Documentation Lemonldap::NG::Common::Util(3pm)

Lemonldap::NG::Common::Util - Utility class for LemonLDAP::NG

This package contains various functions that need to be shared between modules.

getPSessionID($uid)

This method computes the psession ID from the user login

genId2F($device)

This method computes the unique ID of each 2F device, for use with the API and CLI

getSameSite($conf)

Try to find a sensible value for the SameSite cookie attribute. If the user has overridden it, return the forced value

Use OW2 system to report bug or ask for features: <https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues>

Lemonldap::NG is available at <https://lemonldap-ng.org/download>

See COPYING file for details.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

2023-09-29 perl v5.36.0