mirror of
https://github.com/SkillDisplay/PHPToolKit.git
synced 2024-05-18 18:24:09 +02:00
Daniel Siepmann
691adc00a6
This prevents unnecessary merge conflicts in future. Also code follows a simple formatting rule set and is easier to read.
17 lines
702 B
PHP
17 lines
702 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace SkillDisplay\PHPToolKit\Example\APIKeyRequired;
|
|
|
|
require '../../../vendor/autoload.php';
|
|
require '../Includes/ExampleSettings.php';
|
|
|
|
use SkillDisplay\PHPToolKit\Verification\Issuer;
|
|
|
|
// Automatically grant a Business-Verification (e.g.: after completing an exam) if the SkillDisplay username is known
|
|
// In order to grant an Educational Verification you just need to exchange the constant to VERIFICATION_EDUCATIONAL
|
|
// (your Verifier Account needs the according permissions)
|
|
$myVerificationTool = new Issuer($mySettings);
|
|
$myVerificationTool->outputResponse($myVerificationTool->issueVerification(193, '--skilldisplay-user-email--', VERIFICATION_BUSINESS));
|