Skip to content

Commit 14e91bc

Browse files
committed
WIP move to SSP UI
1 parent e881224 commit 14e91bc

File tree

74 files changed

+696
-341
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+696
-341
lines changed

config-templates/module_oidc.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -383,13 +383,13 @@
383383
// Adapter arguments here...
384384
],
385385

386-
// Maximum federation cache item duration. Federation cache item duration will typically be resolved based on the
387-
// expiry of the artifact. For example, when caching entity statements, cache duration will be based on the 'exp'
388-
// claim (expiration time). Since those claims are set by issuer (can be long), it could be desirable to limit
389-
// the maximum time, so that items in cache get refreshed more regularly (and changes propagate more quickly).
390-
// This is only relevant if federation cache adapter is set up. For duration format info, check
391-
// https://www.php.net/manual/en/dateinterval.construct.php.
392-
ModuleConfig::OPTION_FEDERATION_CACHE_MAX_DURATION => 'PT6H', // 6 hours
386+
// Maximum federation cache duration for fetched artifacts. Federation cache duration will typically be resolved
387+
// based on the expiry of the fetched artifact. For example, when caching fetched entity statements, cache
388+
// duration will be based on the 'exp' claim (expiration time). Since those claims are set by issuer (can
389+
// be long), it could be desirable to limit the maximum time, so that items in cache get refreshed more
390+
// regularly (and changes propagate more quickly). This is only relevant if federation cache adapter
391+
// is set up. For duration format info, check https://www.php.net/manual/en/dateinterval.construct.php.
392+
ModuleConfig::OPTION_FEDERATION_CACHE_MAX_DURATION_FOR_FETCHED => 'PT6H', // 6 hours
393393

394394
/**
395395
* PKI settings related to OpenID Federation. These keys will be used, for example, to sign federation
@@ -412,10 +412,10 @@
412412
ModuleConfig::OPTION_FEDERATION_ENTITY_STATEMENT_DURATION => 'P1D', // 1 day
413413

414414
// Cache duration for federation entity statements produced by this OP. This can be used to avoid calculating JWS
415-
// signature on every HTTP request for OP Configuration statement, Subordinate Statements...
416-
// This is only relevant if federation cache adapter is set up. For duration format info, check
415+
// signature on every HTTP request for OP Configuration statement, Subordinate Statements... This is only
416+
// relevant if federation cache adapter is set up. For duration format info, check
417417
// https://www.php.net/manual/en/dateinterval.construct.php.
418-
ModuleConfig::OPTION_FEDERATION_ENTITY_STATEMENT_CACHE_DURATION => 'PT2M', // 2 minutes
418+
ModuleConfig::OPTION_FEDERATION_CACHE_DURATION_FOR_PRODUCED => 'PT2M', // 2 minutes
419419

420420
// Common federation entity parameters:
421421
// https://openid.net/specs/openid-federation-1_0.html#name-common-metadata-parameters

hooks/hook_adminmenu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function oidc_hook_adminmenu(Template &$template): void
2020

2121
$oidcMenuEntry = [
2222
ModuleConfig::MODULE_NAME => [
23-
'url' => $moduleConfig->getModuleUrl(RoutesEnum::AdminConfigOverview->value),
23+
'url' => $moduleConfig->getModuleUrl(RoutesEnum::AdminConfigProtocol->value),
2424
'name' => Translate::noop('OIDC'),
2525
],
2626
];

public/admin-clients/delete.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* file that was distributed with this source code.
1515
*/
1616

17-
use SimpleSAML\Module\oidc\Controller\Client\DeleteController;
17+
use SimpleSAML\Module\oidc\Controllers\Client\DeleteController;
1818
use SimpleSAML\Module\oidc\Services\RoutingService;
1919

2020
RoutingService::call(DeleteController::class);

public/admin-clients/edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* file that was distributed with this source code.
1515
*/
1616

17-
use SimpleSAML\Module\oidc\Controller\Client\EditController;
17+
use SimpleSAML\Module\oidc\Controllers\Client\EditController;
1818
use SimpleSAML\Module\oidc\Services\RoutingService;
1919

2020
RoutingService::call(EditController::class);

public/admin-clients/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* file that was distributed with this source code.
1515
*/
1616

17-
use SimpleSAML\Module\oidc\Controller\Client\IndexController;
17+
use SimpleSAML\Module\oidc\Controllers\Client\IndexController;
1818
use SimpleSAML\Module\oidc\Services\RoutingService;
1919

2020
RoutingService::call(IndexController::class);

public/admin-clients/new.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* file that was distributed with this source code.
1515
*/
1616

17-
use SimpleSAML\Module\oidc\Controller\Client\CreateController;
17+
use SimpleSAML\Module\oidc\Controllers\Client\CreateController;
1818
use SimpleSAML\Module\oidc\Services\RoutingService;
1919

2020
RoutingService::call(CreateController::class);

public/admin-clients/reset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* file that was distributed with this source code.
1515
*/
1616

17-
use SimpleSAML\Module\oidc\Controller\Client\ResetSecretController;
17+
use SimpleSAML\Module\oidc\Controllers\Client\ResetSecretController;
1818
use SimpleSAML\Module\oidc\Services\RoutingService;
1919

2020
RoutingService::call(ResetSecretController::class);

public/admin-clients/show.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* file that was distributed with this source code.
1515
*/
1616

17-
use SimpleSAML\Module\oidc\Controller\Client\ShowController;
17+
use SimpleSAML\Module\oidc\Controllers\Client\ShowController;
1818
use SimpleSAML\Module\oidc\Services\RoutingService;
1919

2020
RoutingService::call(ShowController::class);

public/authorize.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* file that was distributed with this source code.
1515
*/
1616

17-
use SimpleSAML\Module\oidc\Controller\AuthorizationController;
17+
use SimpleSAML\Module\oidc\Controllers\AuthorizationController;
1818
use SimpleSAML\Module\oidc\Services\RoutingService;
1919

2020
RoutingService::call(AuthorizationController::class, false, true);

public/clients/delete.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* file that was distributed with this source code.
1515
*/
1616

17-
use SimpleSAML\Module\oidc\Controller\Client\DeleteController;
17+
use SimpleSAML\Module\oidc\Controllers\Client\DeleteController;
1818
use SimpleSAML\Module\oidc\Services\AuthContextService;
1919
use SimpleSAML\Module\oidc\Services\RoutingService;
2020

0 commit comments

Comments
 (0)