diff options
| author | Matthew Wilkes <git@matthewwilkes.name> | 2016-12-09 11:25:03 +0100 |
|---|---|---|
| committer | Matthew Wilkes <git@matthewwilkes.name> | 2017-04-12 12:14:12 +0100 |
| commit | fe0d223ad08bcab724d216b3a877b690c5795f73 (patch) | |
| tree | abd09e5757cd31856f36c33bfc562f1eb6263c1f /docs | |
| parent | 8f60e2c397a4c781d3ac2dc7fcff9321cdb16a42 (diff) | |
| download | pyramid-fe0d223ad08bcab724d216b3a877b690c5795f73.tar.gz pyramid-fe0d223ad08bcab724d216b3a877b690c5795f73.tar.bz2 pyramid-fe0d223ad08bcab724d216b3a877b690c5795f73.zip | |
Rename implementation to ICSRFStoragePolicy
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api/interfaces.rst | 2 | ||||
| -rw-r--r-- | docs/narr/security.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/api/interfaces.rst b/docs/api/interfaces.rst index b88209a36..e542a6be0 100644 --- a/docs/api/interfaces.rst +++ b/docs/api/interfaces.rst @@ -44,7 +44,7 @@ Other Interfaces .. autointerface:: IRoutePregenerator :members: - .. autointerface:: ICSRFPolicy + .. autointerface:: ICSRFStoragePolicy :members: .. autointerface:: ISession diff --git a/docs/narr/security.rst b/docs/narr/security.rst index 6962a0fe3..04c236e0b 100644 --- a/docs/narr/security.rst +++ b/docs/narr/security.rst @@ -787,7 +787,7 @@ a :term:`session factory` as described in a cookie-based implementation :class:`pyramid.csrf.CookieCSRF` which gives some additional flexibility as it does not require a session for each user. You can also define your own implementation of -:class:`pyramid.interfaces.ICSRFPolicy` and register it with the +:class:`pyramid.interfaces.ICSRFStoragePolicy` and register it with the :meth:`pyramid.config.Configurator.set_default_csrf_options` directive. For example: |
