Skip to content

Commit b9ba594

Browse files
committed
WIP
1 parent 1d806d5 commit b9ba594

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Controllers/VerifiableCredentials/CredentialIssuerCredentialController.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use SimpleSAML\Module\oidc\ModuleConfig;
1010
use SimpleSAML\Module\oidc\Repositories\AccessTokenRepository;
1111
use SimpleSAML\Module\oidc\Server\Exceptions\OidcServerException;
12+
use SimpleSAML\Module\oidc\Services\LoggerService;
1213
use SimpleSAML\Module\oidc\Utils\FingerprintGenerator;
1314
use SimpleSAML\Module\oidc\Utils\Routes;
1415
use SimpleSAML\OpenID\Algorithms\SignatureAlgorithmEnum;
@@ -33,6 +34,7 @@ public function __construct(
3334
protected readonly PsrHttpBridge $psrHttpBridge,
3435
protected readonly VerifiableCredentials $verifiableCredentials,
3536
protected readonly Jwk $jwk,
37+
protected readonly LoggerService $loggerService,
3638
) {
3739
if (!$this->moduleConfig->getVerifiableCredentialEnabled()) {
3840
throw OidcServerException::forbidden('Verifiable Credential capabilities not enabled');
@@ -41,6 +43,9 @@ public function __construct(
4143

4244
public function credential(Request $request): Response
4345
{
46+
$this->loggerService->info('credential', $request->request->all());
47+
48+
4449
$authorization = $this->resourceServer->validateAuthenticatedRequest(
4550
$this->psrHttpBridge->getPsrHttpFactory()->createRequest($request),
4651
);

0 commit comments

Comments
 (0)