diff options
| author | Jure Cerjak <jcerjak@termitnjak.si> | 2016-12-05 16:06:08 +0100 |
|---|---|---|
| committer | Matthew Wilkes <git@matthewwilkes.name> | 2017-04-12 12:13:45 +0100 |
| commit | 313c251497f6cdb3e5ca961a8092a2356aa502fc (patch) | |
| tree | ac952974d7f04c6985894fdbb2511cf65e6682df /docs/api | |
| parent | a2c7c7a49bceeaaab2853e7e73c3671979d4c9ed (diff) | |
| download | pyramid-313c251497f6cdb3e5ca961a8092a2356aa502fc.tar.gz pyramid-313c251497f6cdb3e5ca961a8092a2356aa502fc.tar.bz2 pyramid-313c251497f6cdb3e5ca961a8092a2356aa502fc.zip | |
Fix tests and documentation in various places, and feedback following review
regarding naming of variables and code cleanup.
Diffstat (limited to 'docs/api')
| -rw-r--r-- | docs/api/csrf.rst | 10 | ||||
| -rw-r--r-- | docs/api/interfaces.rst | 2 |
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 |
