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/csrf.rst | |
| 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/csrf.rst')
| -rw-r--r-- | docs/api/csrf.rst | 10 |
1 files changed, 6 insertions, 4 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 - |
