SkipCsrfProtection
final class SkipCsrfProtection (View source)
Action methods marked with this annotation will not be secured against CSRF.
Since CSRF is a risk for write operations, this is useful for read-only actions. The overhead for CRSF token generation and validation can be skipped in those cases.