flexisip-account-manager/flexiapi/app/Http/Middleware/VerifyCsrfToken.php
Timothée Jaussoin 17fcaf02d3 Import a new API, build with Laravel
- Authentication handled by DIGEST (MD5 and SHA-256)
- Support of CLRTXT passwords in the DB
- Expose sip account devices through the API
- Tests, with databases running in memory
- Documents for the deployment and API usage
2020-02-03 15:20:48 +01:00

24 lines
463 B
PHP

<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
class VerifyCsrfToken extends Middleware
{
/**
* Indicates whether the XSRF-TOKEN cookie should be set on the response.
*
* @var bool
*/
protected $addHttpCookie = true;
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
//
];
}