diff options
| author | Michael Merickel <michael@merickel.org> | 2019-10-17 00:55:35 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2019-10-17 00:55:35 -0500 |
| commit | cee110df1b5cd94938379a27000e32b471c3cb38 (patch) | |
| tree | 2c4654974903ec52982a85be4c4a051aa96b98fe | |
| parent | 8ee8d8c589270b436ebfb8686f4e70d8aaa9e6f4 (diff) | |
| download | pyramid-cee110df1b5cd94938379a27000e32b471c3cb38.tar.gz pyramid-cee110df1b5cd94938379a27000e32b471c3cb38.tar.bz2 pyramid-cee110df1b5cd94938379a27000e32b471c3cb38.zip | |
add ISecurityPolicy to the public interface api
| -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 |
