Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| CookieVerifyService | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| isVerifyCookieRequired | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace oat\taoLti\models\classes; |
| 4 | |
| 5 | use oat\oatbox\service\ConfigurableService; |
| 6 | |
| 7 | class CookieVerifyService extends ConfigurableService |
| 8 | { |
| 9 | public const SERVICE_ID = 'taoLti/CookieVerifyService'; |
| 10 | |
| 11 | public const OPTION_VERIFY_COOKIE = 'verify_cookie'; |
| 12 | |
| 13 | /** |
| 14 | * Is verification of cookie required? |
| 15 | * |
| 16 | * @return bool |
| 17 | */ |
| 18 | public function isVerifyCookieRequired() |
| 19 | { |
| 20 | return $this->getOption(self::OPTION_VERIFY_COOKIE) === true; |
| 21 | } |
| 22 | } |