mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-25 06:30:13 +05:30
Fix bug: incorrect signature parameter
This commit is contained in:
parent
2496653968
commit
a2c418ee07
@ -105,7 +105,7 @@ class MAC extends AbstractTokenType implements TokenTypeInterface
|
|||||||
$timestamp,
|
$timestamp,
|
||||||
$nonce,
|
$nonce,
|
||||||
strtoupper($request->getMethod()),
|
strtoupper($request->getMethod()),
|
||||||
$request->getUri(),
|
$request->getRequestUri(),
|
||||||
$request->getHost(),
|
$request->getHost(),
|
||||||
$request->getPort(),
|
$request->getPort(),
|
||||||
];
|
];
|
||||||
|
@ -52,7 +52,7 @@ class MacTest extends \PHPUnit_Framework_TestCase
|
|||||||
$ts,
|
$ts,
|
||||||
'foo',
|
'foo',
|
||||||
strtoupper($request->getMethod()),
|
strtoupper($request->getMethod()),
|
||||||
$request->getUri(),
|
$request->getRequestUri(),
|
||||||
$request->getHost(),
|
$request->getHost(),
|
||||||
$request->getPort(),
|
$request->getPort(),
|
||||||
'ext'
|
'ext'
|
||||||
|
Loading…
Reference in New Issue
Block a user