VerifyCsrfToken.php 718 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace App\Http\Middleware;
  3. use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
  4. class VerifyCsrfToken extends Middleware
  5. {
  6. /**
  7. * Indicates whether the XSRF-TOKEN cookie should be set on the response.
  8. *
  9. * @var bool
  10. */
  11. protected $addHttpCookie = true;
  12. /**
  13. * The URIs that should be excluded from CSRF verification.
  14. *
  15. * @var array
  16. */
  17. protected $except = [
  18. '/sslcommerz*',
  19. '/config_content',
  20. '/paytm*',
  21. '/payhere*',
  22. '/stripe*',
  23. '/iyzico*',
  24. '/payfast*',
  25. '/bkash*',
  26. '/aamarpay*',
  27. '/mock_payments',
  28. '/lnmo*',
  29. '/api'
  30. ];
  31. }