PHP code example of aetah / oidc-discovery
1. Go to this page and download the library: Download aetah/oidc-discovery library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
aetah / oidc-discovery example snippets
declare(strict_types=1);
use Aetah\OIDCDiscovery\OIDCDiscovery;
$discovery = new OIDCDiscovery();
$url = $discovery->buildProviderConfigurationUrl('https://op.example/');
$metadata = $discovery->parseProviderMetadataJson($jsonDocument);
bash
composer analyse
bash
composer clean