File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88use GuzzleHttp \Client ;
99use Psr \Log \LoggerInterface ;
1010use Psr \SimpleCache \CacheInterface ;
11+ use SimpleSAML \OpenID \Codebooks \TrustMarkStatusEndpointUsagePolicyEnum ;
1112use SimpleSAML \OpenID \Decorators \CacheDecorator ;
1213use SimpleSAML \OpenID \Decorators \DateIntervalDecorator ;
1314use SimpleSAML \OpenID \Decorators \HttpClientDecorator ;
@@ -117,6 +118,8 @@ public function __construct(
117118 ?CacheInterface $ cache = null ,
118119 protected readonly ?LoggerInterface $ logger = null ,
119120 ?Client $ client = null ,
121+ // phpcs:ignore
122+ protected readonly TrustMarkStatusEndpointUsagePolicyEnum $ defaultTrustMarkStatusEndpointUsagePolicyEnum = TrustMarkStatusEndpointUsagePolicyEnum::NotUsed,
120123 ) {
121124 $ this ->maxCacheDurationDecorator = $ this ->dateIntervalDecoratorFactory ()->build ($ maxCacheDuration );
122125 $ this ->timestampValidationLeewayDecorator = $ this ->dateIntervalDecoratorFactory ()
@@ -290,6 +293,7 @@ public function trustMarkValidator(): TrustMarkValidator
290293 $ this ->maxCacheDurationDecorator ,
291294 $ this ->cacheDecorator (),
292295 $ this ->logger ,
296+ $ this ->defaultTrustMarkStatusEndpointUsagePolicyEnum ,
293297 );
294298 }
295299
You can’t perform that action at this time.
0 commit comments