diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api/interfaces.rst | 3 | ||||
| -rw-r--r-- | docs/glossary.rst | 9 |
2 files changed, 8 insertions, 4 deletions
diff --git a/docs/api/interfaces.rst b/docs/api/interfaces.rst index 08c67c385..320e01c91 100644 --- a/docs/api/interfaces.rst +++ b/docs/api/interfaces.rst @@ -29,6 +29,9 @@ Event-Related Interfaces Other Interfaces ++++++++++++++++ + .. autointerface:: ISecurityPolicy + :members: + .. autointerface:: IAuthenticationPolicy :members: diff --git a/docs/glossary.rst b/docs/glossary.rst index 2d2595592..ac60ebd24 100644 --- a/docs/glossary.rst +++ b/docs/glossary.rst @@ -308,10 +308,11 @@ Glossary ``__str__`` method that outputs a corresponding :term:`userid`. security policy - A security policy in :app:`Pyramid` terms is a bit of code which has an - API which identifies the user associated with the current request (perhaps - via a cookie or ``Authorization`` header) and determines whether or not - that user is permitted to access the requested resource. + A security policy in :app:`Pyramid` terms is an object implementing the + :class:`pyramid.interfaces.ISecurityPolicy` API which identifies the user + associated with the current request + (perhaps via a cookie or ``Authorization`` header) and determines whether + or not that user is permitted to access the requested resource. authorization policy An authorization policy in :app:`Pyramid` terms is a bit of |
