summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/csrf.rst10
-rw-r--r--docs/api/interfaces.rst2
2 files changed, 7 insertions, 5 deletions
diff --git a/docs/api/csrf.rst b/docs/api/csrf.rst
index 3125bdac9..89fb0c4b2 100644
--- a/docs/api/csrf.rst
+++ b/docs/api/csrf.rst
@@ -5,14 +5,16 @@
.. automodule:: pyramid.csrf
+ .. autoclass:: SessionCSRF
+ :members:
+
+ .. autoclass:: CookieCSRF
+ :members:
+
.. autofunction:: get_csrf_token
.. autofunction:: new_csrf_token
- .. autoclass:: SessionCSRF
- :members:
-
.. autofunction:: check_csrf_origin
.. autofunction:: check_csrf_token
-
diff --git a/docs/api/interfaces.rst b/docs/api/interfaces.rst
index 2ca472616..b88209a36 100644
--- a/docs/api/interfaces.rst
+++ b/docs/api/interfaces.rst
@@ -44,7 +44,7 @@ Other Interfaces
.. autointerface:: IRoutePregenerator
:members:
- .. autointerface:: ICSRF
+ .. autointerface:: ICSRFPolicy
:members:
.. autointerface:: ISession