[DEPRECATION] Added csrf_provider and intention deprecated error trigger.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12610
| License       | MIT
| Doc PR        | 
please tell somewhere "since 2.X and will be removed in 3.0"