Commit 50bf5da4 authored by Sebastien @Hubside's avatar Sebastien @Hubside Committed by pjcdawkins

Issue #2769767 by Sebastien @Actualys: Add support for refresh_token in retrieveToken method

parent 81aa3c0b
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment