Skip to content

Commit 961a2b9

Browse files
committed
added missing @uses validateJwtDpop comments
1 parent 6902e3a commit 961a2b9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/unit/Utils/DPOPTest.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ public function testValidateDpopWithCorrectToken(): void
241241
* @testdox Dpop SHOULD complain WHEN asked to get WebId without Request given
242242
*
243243
* @covers ::getWebId
244+
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateJwtDpop
244245
*/
245246
final public function testGetWebIdWithoutRequest(): void
246247
{
@@ -256,6 +257,7 @@ final public function testGetWebIdWithoutRequest(): void
256257
* @testdox Dpop SHOULD return 'public' WHEN asked to get WebId from Request without Authorization Header
257258
*
258259
* @covers ::getWebId
260+
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateJwtDpop
259261
*/
260262
final public function testGetWebIdWithoutHttpAuthorizationHeader(): void
261263
{
@@ -274,6 +276,7 @@ final public function testGetWebIdWithoutHttpAuthorizationHeader(): void
274276
* @testdox Dpop SHOULD complain WHEN asked to get WebId from Request with incorrect Authorization Header format
275277
*
276278
* @covers ::getWebId
279+
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateJwtDpop
277280
*/
278281
final public function testGetWebIdWithIncorrectAuthHeaderFormat(): void
279282
{
@@ -294,6 +297,7 @@ final public function testGetWebIdWithIncorrectAuthHeaderFormat(): void
294297
* @covers ::getWebId
295298
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::getDpopKey
296299
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateDpop
300+
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateJwtDpop
297301
*/
298302
final public function testGetWebIdWithInvalidJwt(): void
299303
{
@@ -315,6 +319,7 @@ final public function testGetWebIdWithInvalidJwt(): void
315319
* @testdox Dpop SHOULD complain WHEN asked to get WebId from Request without DPOP authorization
316320
*
317321
* @covers ::getWebId
322+
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateJwtDpop
318323
*/
319324
final public function testGetWebIdWithoutDpop(): void
320325
{
@@ -336,6 +341,7 @@ final public function testGetWebIdWithoutDpop(): void
336341
*
337342
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::getDpopKey
338343
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateDpop
344+
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateJwtDpop
339345
*/
340346
final public function testGetWebIdWithDpopWithoutKeyId(): void
341347
{
@@ -373,6 +379,7 @@ final public function testGetWebIdWithDpopWithoutKeyId(): void
373379
*
374380
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::getDpopKey
375381
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateDpop
382+
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateJwtDpop
376383
*/
377384
/*
378385
final public function testGetWebIdWithDpopWithoutConfirmationClaim(): void
@@ -410,6 +417,7 @@ final public function testGetWebIdWithDpopWithoutConfirmationClaim(): void
410417
*
411418
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::getDpopKey
412419
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateDpop
420+
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateJwtDpop
413421
*/
414422
/*
415423
final public function testGetWebIdWithDpopWithoutThumbprint(): void
@@ -446,6 +454,7 @@ final public function testGetWebIdWithDpopWithoutThumbprint(): void
446454
*
447455
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::getDpopKey
448456
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateDpop
457+
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateJwtDpop
449458
*/
450459
/*
451460
final public function testGetWebIdWithDpopWithMismatchingThumbprintAndKeyId(): void
@@ -483,6 +492,7 @@ final public function testGetWebIdWithDpopWithMismatchingThumbprintAndKeyId(): v
483492
*
484493
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::getDpopKey
485494
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateDpop
495+
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateJwtDpop
486496
*/
487497
final public function testGetWebIdWithDpopWithoutSub(): void
488498
{
@@ -519,6 +529,7 @@ final public function testGetWebIdWithDpopWithoutSub(): void
519529
*
520530
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::getDpopKey
521531
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateDpop
532+
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateJwtDpop
522533
*/
523534
final public function testGetWebIdWithDpopWithoutAth(): void
524535
{
@@ -550,6 +561,7 @@ final public function testGetWebIdWithDpopWithoutAth(): void
550561
*
551562
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::getDpopKey
552563
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateDpop
564+
* @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateJwtDpop
553565
*/
554566
final public function testGetWebIdWithDpop(): void
555567
{

0 commit comments

Comments
 (0)