You've (probably) already found the method once you see this documentation, i.e. from IntelliSense. IMO it's unnecessary to keep the
> Enabling it is just a single line in the bootstrapper app startup: Csrf.Enable(pipelines);