-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update web-token/jwt-library requirement from ^3.4 to ^3.4 || ^4.0 in…
… the production-dependencies group (#1) * Update web-token/jwt-library requirement || ^4.0 Updates the requirements on [web-token/jwt-library](https://github.com/web-token/jwt-library) to permit the latest version. Updates `web-token/jwt-library` to 4.0.1 - [Commits](web-token/jwt-library@3.4.0...4.0.1) --- updated-dependencies: - dependency-name: web-token/jwt-library dependency-type: direct:production dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> * Update web-token/jwt-library requirement || ^4.0 Updates the requirements on [web-token/jwt-library](https://github.com/web-token/jwt-library) to permit the latest version. Updates `web-token/jwt-library` to 4.0.1 - [Commits](web-token/jwt-library@3.4.0...4.0.1) --- updated-dependencies: - dependency-name: web-token/jwt-library dependency-type: direct:production dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> * Abstract finals to decorators * Add coverage * Requre specific deps for GHA unit test run --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marko Ivancic <mivanci@srce.hr>
- Loading branch information
1 parent
6d0fcec
commit 0654cfd
Showing
54 changed files
with
761 additions
and
509 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace SimpleSAML\OpenID\Algorithms; | ||
|
||
use Jose\Component\Core\AlgorithmManager; | ||
|
||
class AlgorithmManagerDecorator | ||
{ | ||
public function __construct( | ||
protected readonly AlgorithmManager $algorithmManager, | ||
) { | ||
} | ||
|
||
public function algorithmManager(): AlgorithmManager | ||
{ | ||
return $this->algorithmManager; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace SimpleSAML\OpenID\Factories; | ||
|
||
use Jose\Component\Core\AlgorithmManager; | ||
use SimpleSAML\OpenID\Algorithms\AlgorithmManagerDecorator; | ||
use SimpleSAML\OpenID\SupportedAlgorithms; | ||
|
||
class AlgorithmManagerDecoratorFactory | ||
{ | ||
public function build(SupportedAlgorithms $supportedAlgorithms): AlgorithmManagerDecorator | ||
{ | ||
return new AlgorithmManagerDecorator( | ||
new AlgorithmManager( | ||
$supportedAlgorithms->getSignatureAlgorithmBag()->getAllInstances(), | ||
), | ||
); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace SimpleSAML\OpenID\Factories; | ||
|
||
use Jose\Component\Signature\Serializer\JWSSerializerManager; | ||
use SimpleSAML\OpenID\Serializers\JwsSerializerManagerDecorator; | ||
use SimpleSAML\OpenID\SupportedSerializers; | ||
|
||
class JwsSerializerManagerDecoratorFactory | ||
{ | ||
public function build(SupportedSerializers $supportedSerializers): JwsSerializerManagerDecorator | ||
{ | ||
return new JwsSerializerManagerDecorator( | ||
new JWSSerializerManager( | ||
$supportedSerializers->getJwsSerializerBag()->getAllInstances(), | ||
), | ||
); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.