Is app_api request protected from CSRF attacks on CORS routes?

  • I want to setup apps using app_api
  • In CORSMiddleware.php, I see a comment like the below:

// ensure that @CORS annotated API routes are not used in conjunction
// with session authentication since this enables CSRF attack vectors