PHP code example of dvsa / php-govuk-account
1. Go to this page and download the library: Download dvsa/php-govuk-account 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/ */
dvsa / php-govuk-account example snippets
'discovery_endpoint' => 'https://oidc.integration.account.gov.uk/.well-known/openid-configuration', // Endpoint for OIDC discovery
'client_id' => '', // Client ID issued by GOV.UK Account
'keys' => [
'algorithm' => '', // Algorithm for private_key
'private_key' => '', // Private key used to encode assertion when obtaining access token (public key must be shared with GOV.UK Account)
'identity_assurance_public_key' => [], // THe public key used to verify the JWTCoreIdentity token from UserDetails endpoint (if initial flow
composer