tao-test/app/taoLti/models/classes/CookieVerifyService.php

23 lines
466 B
PHP
Raw Permalink Normal View History

2022-08-29 20:14:13 +02:00
<?php
namespace oat\taoLti\models\classes;
use oat\oatbox\service\ConfigurableService;
class CookieVerifyService extends ConfigurableService
{
const SERVICE_ID = 'taoLti/CookieVerifyService';
const OPTION_VERIFY_COOKIE = 'verify_cookie';
/**
* Is verification of cookie required?
*
* @return bool
*/
public function isVerifyCookieRequired()
{
return $this->getOption(self::OPTION_VERIFY_COOKIE) === true;
}
}