Newer
Older
framework / system / Test / Mock / MockSecurityConfig.php
@MGatner MGatner on 1 Feb 2021 421 bytes Release v4.0.5
<?php

namespace CodeIgniter\Test\Mock;

use Config\Security as SecurityConfig;

class MockSecurityConfig extends SecurityConfig
{
	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'];
}