mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 17:56:14 +05:30
Merge pull request #369 from joaopramos/mac-refresh-tokens
Mac refresh tokens
This commit is contained in:
commit
a773405adf
@ -36,6 +36,10 @@ class MAC extends AbstractTokenType implements TokenTypeInterface
|
||||
'mac_algorithm' => 'hmac-sha-256',
|
||||
];
|
||||
|
||||
if (!is_null($this->getParam('refresh_token'))) {
|
||||
$response['refresh_token'] = $this->getParam('refresh_token');
|
||||
}
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user