1Lemonldap::NG::Common::UUsteirl(C3o)ntributed Perl DocumLeenmtoantlidoanp::NG::Common::Util(3)
2
3
4
6 Lemonldap::NG::Common::Util - Utility class for LemonLDAP::NG
7
9 This package contains various functions that need to be shared between
10 modules.
11
13 getPSessionID($uid)
14
15 This method computes the psession ID from the user login
16
17 genId2F($device)
18
19 This method computes the unique ID of each 2F device, for use with the
20 API and CLI
21
22 display2F($device)
23
24 This method formats device name for logging purpose
25
26 isHiddenAttr( $conf, $attr, @extra_hidden_attributes )
27
28 This method tests if the attribute is hidden. @extra_hidden_attributes
29 is an array of additional attributes to hide.
30
31 getSameSite($conf)
32
33 Try to find a sensible value for the SameSite cookie attribute. If the
34 user has overridden it, return the forced value
35
37 LemonLDAP::NG team <http://lemonldap-ng.org/team>
38
40 Use OW2 system to report bug or ask for features:
41 <https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues>
42
44 Lemonldap::NG is available at <https://lemonldap-ng.org/download>
45
47 See COPYING file for details.
48
49 This library is free software; you can redistribute it and/or modify it
50 under the terms of the GNU General Public License as published by the
51 Free Software Foundation; either version 2, or (at your option) any
52 later version.
53
54 This program is distributed in the hope that it will be useful, but
55 WITHOUT ANY WARRANTY; without even the implied warranty of
56 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
57 General Public License for more details.
58
59 You should have received a copy of the GNU General Public License along
60 with this program. If not, see <http://www.gnu.org/licenses/>.
61
62
63
64perl v5.36.1 2023-11-14 Lemonldap::NG::Common::Util(3)