Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openid_connect
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
7
Merge Requests
7
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
openid_connect
Commits
50bf5da4
Commit
50bf5da4
authored
Nov 01, 2016
by
Sebastien @Hubside
Committed by
pjcdawkins
Nov 01, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2769767
by Sebastien @Actualys: Add support for refresh_token in retrieveToken method
parent
81aa3c0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
includes/OpenIDConnectClientBase.class.php
includes/OpenIDConnectClientBase.class.php
+3
-0
No files found.
includes/OpenIDConnectClientBase.class.php
View file @
50bf5da4
...
...
@@ -146,6 +146,9 @@ abstract class OpenIDConnectClientBase implements OpenIDConnectClientInterface {
if
(
array_key_exists
(
'expires_in'
,
$response_data
))
{
$tokens
[
'expire'
]
=
REQUEST_TIME
+
$response_data
[
'expires_in'
];
}
if
(
array_key_exists
(
'refresh_token'
,
$response_data
))
{
$tokens
[
'refresh_token'
]
=
$response_data
[
'refresh_token'
];
}
return
$tokens
;
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment