logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Authors

       LemonLDAP::NG team <http://lemonldap-ng.org/team>

Bug Report

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

Description

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

Download

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

Methods

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

       display2F($device)

       This method formats device name for logging purpose

       isHiddenAttr($conf,$attr,@extra_hidden_attributes)

       This method tests if the attribute is hidden.  @extra_hidden_attributes is an array of additional
       attributes to hide.

       getSameSite($conf)

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

Name

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

See Also