From cee110df1b5cd94938379a27000e32b471c3cb38 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Thu, 17 Oct 2019 00:55:35 -0500 Subject: add ISecurityPolicy to the public interface api --- docs/api/interfaces.rst | 3 +++ docs/glossary.rst | 9 +++++---- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'docs') 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 -- cgit v1.2.3