Newer
Older
framework / system / Test / Mock / MockSecurityConfig.php
@MGatner MGatner on 18 May 2021 458 bytes Release v4.1.2
<?php

namespace CodeIgniter\Test\Mock;

use Config\Security as Security;

/**
 * @deprecated
 *
 * @codeCoverageIgnore
 */
class MockSecurityConfig extends Security
{
	public $tokenName   = 'csrf_test_name';
	public $headerName  = 'X-CSRF-TOKEN';
	public $cookieName  = 'csrf_cookie_name';
	public $expires     = 7200;
	public $regenerate  = true;
	public $redirect    = false;
	public $samesite    = 'Lax';
	public $excludeURIs = ['http://example.com'];
}