File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
src/Controllers/VerifiableCredentials Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 99use SimpleSAML \Module \oidc \ModuleConfig ;
1010use SimpleSAML \Module \oidc \Repositories \AccessTokenRepository ;
1111use SimpleSAML \Module \oidc \Server \Exceptions \OidcServerException ;
12+ use SimpleSAML \Module \oidc \Services \LoggerService ;
1213use SimpleSAML \Module \oidc \Utils \FingerprintGenerator ;
1314use SimpleSAML \Module \oidc \Utils \Routes ;
1415use 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 );
You can’t perform that action at this time.
0 commit comments