table of contents
- stretch 1.9.7-3
Lemonldap::NG::Portal::_OpenIDConnect(3pm) | User Contributed Perl Documentation | Lemonldap::NG::Portal::_OpenIDConnect(3pm) |
NAME¶
Lemonldap::NG::Portal::_OpenIDConnect - Common OpenIDConnect functionsSYNOPSIS¶
use Lemonldap::NG::Portal::_OpenIDConnect;DESCRIPTION¶
This module contains common methods for OpenIDConnect authentication and user information loadingMETHODS¶
loadOPs¶
Load OpenID Connect Providers and JWKS dataloadRPs¶
Load OpenID Connect Relying PartiesrefreshJWKSdata¶
Refresh JWKS data if neededgetRP¶
Get Relying Party corresponding to a Client IDgetCallbackUri¶
Compute callback URIbuildAuthorizationCodeAuthnRequest¶
Build Authentication Request URI for Authorization Code FlowbuildAuthorizationCodeAuthnResponse¶
Build Authentication Response URI for Authorization Code FlowbuildImplicitAuthnResponse¶
Build Authentication Response URI for Implicit FlowbuildHybridAuthnResponse¶
Build Authentication Response URI for Hybrid FlowgetAuthorizationCodeAccessToken¶
Get Token response with authorization codecheckTokenResponseValidity¶
Check validity of Token ResponsegetUserInfo¶
Get UserInfo responsedecodeJSON¶
Convert JSON to HashRefgetOpenIDConnectSession¶
Try to recover the OpenID Connect session corresponding to id and return sessionstoreState¶
Store information in state database and returnextractState¶
Extract state information into $selfextractJWT¶
Extract parts of a JWTverifyJWTSignature¶
Check signature of a JWTverifyHash¶
Check value hashcreateHash¶
Create HashreturnRedirectError¶
Create error redirectionreturnJSONStatus¶
Print JSON contentreturnJSONError¶
Print JSON errorreturnJSON¶
Print JSON contentreturnBearerError¶
Return Bearer errorgetEndPointAuthenticationCredentials¶
Get Client ID and Client SecretgetEndPointAccessToken¶
Get Access TokengetAttributesListFromClaim¶
Return list of attributes authorized for a claimbuildUserInfoResponse¶
Return Hash of UserInfo datacreateJWT¶
Return JWTcreateIDToken¶
Return ID TokengetFlowType¶
Return flow typegetIDTokenSub¶
Return sub field of an ID TokengetJWTJSONData¶
Return payload of a JWT as Hash refkey2jwks¶
Return JWKS representation of a keybuildLogoutRequest¶
Build Logout Request URIbuildLogoutResponse¶
Build Logout Response URISEE ALSO¶
Lemonldap::NG::Portal::AuthOpenIDConnect, Lemonldap::NG::Portal::UserDBOpenIDConnectAUTHOR¶
- Clement Oudot, <clem.oudot@gmail.com>
BUG REPORT¶
Use OW2 system to report bug or ask for features: <http://jira.ow2.org>DOWNLOAD¶
Lemonldap::NG is available at <http://forge.objectweb.org/project/showfiles.php?group_id=274>COPYRIGHT AND LICENSE¶
- Copyright (C) 2014-2016 by Clement Oudot, <clem.oudot@gmail.com>
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/>.
2017-02-12 | perl v5.24.1 |