-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start with EntityStatement controller
- Loading branch information
Showing
3 changed files
with
38 additions
and
1 deletion.
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 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,29 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace SimpleSAML\Module\oidc\Controller\Federation; | ||
|
||
use SimpleSAML\Module\oidc\Services\JsonWebTokenBuilderService; | ||
use SimpleSAML\Module\oidc\Services\OpMetadataService; | ||
use Symfony\Component\HttpFoundation\Response; | ||
|
||
class EntityStatementController | ||
{ | ||
public function __construct( | ||
private readonly JsonWebTokenBuilderService $jsonWebTokenBuilderService, | ||
private readonly OpMetadataService $opMetadataService, | ||
) { | ||
} | ||
|
||
/** | ||
* Return the JWS with the OP configuration statement. openid-federation | ||
* @return Response | ||
*/ | ||
public function configuration(): Response | ||
{ | ||
// TODO mivanci Adjust JsonWebTokenBuilderService to accommodate new federation capabilities | ||
$jws = ''; | ||
return new Response($jws); | ||
} | ||
} |