oat-sa / lib-proctorio
Library provide SDK for Proctorio API
This package's canonical repository appears to be gone and the package has been frozen as a result.
Requires
- php: >=7.2.10
- ext-curl: *
- ext-json: *
- guzzlehttp/guzzle: ~6.0
- ramsey/uuid: ~3.8
Requires (Dev)
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2020-05-21 12:43:51 UTC
README
Description
Proctorio library allows us to create a signed request to the Proctorio provider
Proctorio ensures the total learning integrity of every assessment. Proctorio may eliminates human error, bias, and much of the expense associated with remote proctoring and identity verification.
Installation instructions
These instructions assume that you have already a TAO installation on your system. If you don't, go to package/tao and follow the installation instructions over there.
Add the library to your TAO composer and to the autoloader:
Note that oat-sa/lib-proctorio
is not registered on Packagist so that you will need to add
a reference to your composer.json before you can use composer require
.
"repositories": [
{
"type": "vcs",
"url": "git@github.com:oat-sa/lib-proctorio.git"
}
],
Now you can add it to composer.json
:
composer require oat-sa/lib-proctorio
Library Wiki
RemoteProctoringService
Proctorio service allow to communicate with Proctorio api.
Implementation
ProctorioService is an implementation of RemoteProctoringServiceInterface that allow:
- calling remote proctoring
- buillding a config for remote proctoring call
Example
To use library you can use ProctorioService
class
<?php use oat\Proctorio\ProctorioService; use oat\Proctorio\ProctorioConfig; $proctorioService = new ProctorioService(); $params = [ ProctorioConfig::LAUNCH_URL => 'http://proctorio.url.example', ProctorioConfig::USER_ID => 'user_id', ProctorioConfig::EXAM_TAKE => 'https:\/\/tao.platform.instance\/.*', ProctorioConfig::EXAM_END => 'https:\/\/tao.platform.instance\/.*', ProctorioConfig::EXAM_SETTINGS => ['webtraffic'] ]; $proctorioResponse = $proctorioService->callRemoteProctoring($params, 'your_oauth_key', 'your_oauth_secret'); echo $proctorioResponse->getTestTakerUrl(); echo $proctorioResponse->getTestReviewerUrl();