summaryrefslogtreecommitdiff
path: root/docs/api
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
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')
-rw-r--r--docs/api/config.rst1
-rw-r--r--docs/api/csrf.rst4
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/api/config.rst b/docs/api/config.rst
index c76d3d5ff..a785b64ad 100644
--- a/docs/api/config.rst
+++ b/docs/api/config.rst
@@ -37,6 +37,7 @@
.. automethod:: set_authentication_policy
.. automethod:: set_authorization_policy
.. automethod:: set_default_csrf_options
+ .. automethod:: set_csrf_storage_policy
.. automethod:: set_default_permission
.. automethod:: add_permission
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