1Lemonldap::NG::Portal::ULsiebr::COopnetnrIiDbCuLotenemndoencPlted(ra3lp):D:oNcGu:m:ePnotrattailo:n:Lib::OpenIDConnect(3)
2
3
4
6 Lemonldap::NG::Portal::Lib::OpenIDConnect - Common OpenIDConnect
7 functions
8
10 use Lemonldap::NG::Portal::Lib::OpenIDConnect;
11
13 This module contains common methods for OpenIDConnect authentication
14 and user information loading
15
17 loadOPs
18 Load OpenID Connect Providers and JWKS data
19
20 loadRPs
21 Load OpenID Connect Relying Parties
22
23 refreshJWKSdata
24 Refresh JWKS data if needed
25
26 getRP
27 Get Relying Party corresponding to a Client ID
28
29 getCallbackUri
30 Compute callback URI
31
32 buildAuthorizationCodeAuthnRequest
33 Build Authentication Request URI for Authorization Code Flow
34
35 buildAuthorizationCodeAuthnResponse
36 Build Authentication Response URI for Authorization Code Flow
37
38 buildImplicitAuthnResponse
39 Build Authentication Response URI for Implicit Flow
40
41 buildHybridAuthnResponse
42 Build Authentication Response URI for Hybrid Flow
43
44 getAuthorizationCodeAccessToken
45 Get Token response with authorization code
46
47 checkTokenResponseValidity
48 Check validity of Token Response
49
50 getUserInfo
51 Get UserInfo response
52
53 decodeJSON
54 Convert JSON to HashRef
55
56 newAuthorizationCode
57 Generate new Authorization Code session
58
59 newAccessToken
60 Generate new Access Token session
61
62 newRefreshToken
63 Generate new Refresh Token session
64
65 getAuthorizationCode
66 Get existing Authorization Code session
67
68 getAccessToken
69 Get existing Access Token session
70
71 getRefreshToken
72 Get existing Refresh Token session
73
74 getOpenIDConnectSession
75 Try to recover the OpenID Connect session corresponding to id and
76 return session
77
78 storeState
79 Store information in state database and return
80
81 extractState
82 Extract state information into $self
83
84 verifyJWTSignature
85 Check signature of a JWT
86
87 verifyHash
88 Check value hash
89
90 createHash
91 Create Hash
92
93 returnBearerError
94 Return Bearer error
95
96 getEndPointAuthenticationCredentials
97 Get Client ID and Client Secret
98
99 getEndPointAccessToken
100 Get Access Token
101
102 getAttributesListFromClaim
103 Return list of attributes authorized for a claim
104
105 buildUserInfoResponseFromId
106 Return Hash of UserInfo data from session ID
107
108 buildUserInfoResponse
109 Return Hash of UserInfo data from session object
110
111 createJWT
112 Return JWT
113
114 createIDToken
115 Return ID Token
116
117 getFlowType
118 Return flow type
119
120 getIDTokenSub
121 Return sub field of an ID Token
122
123 getJWTJSONData
124 Return payload of a JWT as Hash ref
125
126 key2jwks
127 Return JWKS representation of a key
128
129 buildLogoutRequest
130 Build Logout Request URI
131
132 buildLogoutResponse
133 Build Logout Response URI
134
135 addRouteFromConf
136 Build a Lemonldap::NG::Common::PSGI::Router route from OIDC
137 configuration attribute
138
139 validatePKCEChallenge
140 Validate PKCE code challenge with given code challenge method
141
143 Lemonldap::NG::Portal::AuthOpenIDConnect,
144 Lemonldap::NG::Portal::UserDBOpenIDConnect
145
147 LemonLDAP::NG team <http://lemonldap-ng.org/team>
148
150 Use OW2 system to report bug or ask for features:
151 <https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues>
152
154 Lemonldap::NG is available at <https://lemonldap-ng.org/download>
155
157 See COPYING file for details.
158
159 This library is free software; you can redistribute it and/or modify it
160 under the terms of the GNU General Public License as published by the
161 Free Software Foundation; either version 2, or (at your option) any
162 later version.
163
164 This program is distributed in the hope that it will be useful, but
165 WITHOUT ANY WARRANTY; without even the implied warranty of
166 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
167 General Public License for more details.
168
169 You should have received a copy of the GNU General Public License along
170 with this program. If not, see <http://www.gnu.org/licenses/>.
171
172
173
174perl v5.36.1 2L0e2m3o-n1l1d-a1p4::NG::Portal::Lib::OpenIDConnect(3)