summaryrefslogtreecommitdiff
path: root/docs/api/csrf.rst
diff options
context:
space:
mode:
authorMatthew Wilkes <git@matthewwilkes.name>2017-04-12 11:57:56 +0100
committerMatthew Wilkes <git@matthewwilkes.name>2017-04-12 12:14:12 +0100
commit7c0f098641fda4207ea6fa50c58b289926038697 (patch)
tree38f3b4178087a336c9cdd14a6a38e2729938573d /docs/api/csrf.rst
parentf6d63a41d37b0647c49e53bb54f009f7da4d5079 (diff)
downloadpyramid-7c0f098641fda4207ea6fa50c58b289926038697.tar.gz
pyramid-7c0f098641fda4207ea6fa50c58b289926038697.tar.bz2
pyramid-7c0f098641fda4207ea6fa50c58b289926038697.zip
Use the webob CookieProfile in the Cookie implementation, rename some implemenations based on feedback, split CSRF implementation and option configuration and make the csrf token function exposed as a system default rather than a renderer event.
Diffstat (limited to 'docs/api/csrf.rst')
-rw-r--r--docs/api/csrf.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api/csrf.rst b/docs/api/csrf.rst
index 89fb0c4b2..f890ee660 100644
--- a/docs/api/csrf.rst
+++ b/docs/api/csrf.rst
@@ -5,10 +5,10 @@
.. automodule:: pyramid.csrf
- .. autoclass:: SessionCSRF
+ .. autoclass:: SessionCSRFStoragePolicy
:members:
- .. autoclass:: CookieCSRF
+ .. autoclass:: CookieCSRFStoragePolicy
:members:
.. autofunction:: get_csrf_token