Newer
Older
framework / system / Test / Mock / MockSecurityConfig.php
@MGatner MGatner on 7 Sep 2021 727 bytes Release v4.1.4
<?php

/**
 * This file is part of CodeIgniter 4 framework.
 *
 * (c) CodeIgniter Foundation <admin@codeigniter.com>
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

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'];
}