Merge pull request #369 from joaopramos/mac-refresh-tokens

Mac refresh tokens
This commit is contained in:
Alex Bilbie 2015-09-01 14:32:45 +01:00
commit a773405adf

View File

@ -36,6 +36,10 @@ class MAC extends AbstractTokenType implements TokenTypeInterface
'mac_algorithm' => 'hmac-sha-256', 'mac_algorithm' => 'hmac-sha-256',
]; ];
if (!is_null($this->getParam('refresh_token'))) {
$response['refresh_token'] = $this->getParam('refresh_token');
}
return $response; return $response;
} }