DOKK / manpages / debian 12 / liblemonldap-ng-portal-perl / Lemonldap::NG::Portal::Lib::OpenIDConnect.3pm.en
Lemonldap::NG::Portal::Lib::OpenIDConnect(3pm) User Contributed Perl Documentation Lemonldap::NG::Portal::Lib::OpenIDConnect(3pm)

Lemonldap::NG::Portal::Lib::OpenIDConnect - Common OpenIDConnect functions

use Lemonldap::NG::Portal::Lib::OpenIDConnect;

This module contains common methods for OpenIDConnect authentication and user information loading

Load OpenID Connect Providers and JWKS data

Load OpenID Connect Relying Parties

Refresh JWKS data if needed

Get Relying Party corresponding to a Client ID

Compute callback URI

Build Authentication Request URI for Authorization Code Flow

Build Authentication Response URI for Authorization Code Flow

Build Authentication Response URI for Implicit Flow

Build Authentication Response URI for Hybrid Flow

Get Token response with authorization code

Check validity of Token Response

Get UserInfo response

Convert JSON to HashRef

Generate new Authorization Code session

Generate new Access Token session

Generate new Refresh Token session

Get existing Authorization Code session

Get existing Access Token session

Get existing Refresh Token session

Try to recover the OpenID Connect session corresponding to id and return session

Store information in state database and return

Extract state information into $self

Check signature of a JWT

Check value hash

Create Hash

Return Bearer error

Get Client ID and Client Secret

Get Access Token

Return list of attributes authorized for a claim

Return Hash of UserInfo data from session ID

Return Hash of UserInfo data from session object

Return JWT

Return ID Token

Return flow type

Return sub field of an ID Token

Return payload of a JWT as Hash ref

Return JWKS representation of a key

Build Logout Request URI

Build Logout Response URI

Build a Lemonldap::NG::Common::PSGI::Router route from OIDC configuration attribute

Validate PKCE code challenge with given code challenge method

Lemonldap::NG::Portal::AuthOpenIDConnect, Lemonldap::NG::Portal::UserDBOpenIDConnect

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