summaryrefslogtreecommitdiff
path: root/docs/api/request.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2019-09-30 22:23:02 -0500
committerGitHub <noreply@github.com>2019-09-30 22:23:02 -0500
commit849463d3c2f5ad2c89b3d10a2abce63e4892082d (patch)
tree5bc507d427d8d2000c59ad7837cc03099decf1b5 /docs/api/request.rst
parentada0a977d9190520c21ffaf9500860db2f3a1b3e (diff)
parentcdb26610782176955cd8cfb0b3c3e242ca819f74 (diff)
downloadpyramid-849463d3c2f5ad2c89b3d10a2abce63e4892082d.tar.gz
pyramid-849463d3c2f5ad2c89b3d10a2abce63e4892082d.tar.bz2
pyramid-849463d3c2f5ad2c89b3d10a2abce63e4892082d.zip
Merge pull request #3465 from luhn/security-policy
Security policy implementation
Diffstat (limited to 'docs/api/request.rst')
-rw-r--r--docs/api/request.rst17
1 files changed, 14 insertions, 3 deletions
diff --git a/docs/api/request.rst b/docs/api/request.rst
index e7b2edc9a..8e0f77b87 100644
--- a/docs/api/request.rst
+++ b/docs/api/request.rst
@@ -166,7 +166,11 @@
.. attribute:: authenticated_userid
- .. versionadded:: 1.5
+ .. deprecated:: 2.0
+
+ ``authenticated_userid`` has been replaced by
+ :attr:`authenticated_identity` in the new security system. See
+ :ref:`upgrading_auth` for more information.
A property which returns the :term:`userid` of the currently
authenticated user or ``None`` if there is no :term:`authentication
@@ -178,7 +182,11 @@
.. attribute:: unauthenticated_userid
- .. versionadded:: 1.5
+ .. deprecated:: 2.0
+
+ ``unauthenticated_userid`` has been replaced by
+ :attr:`authenticated_identity` in the new security system. See
+ :ref:`upgrading_auth` for more information.
A property which returns a value which represents the *claimed* (not
verified) :term:`userid` of the credentials present in the
@@ -193,7 +201,10 @@
.. attribute:: effective_principals
- .. versionadded:: 1.5
+ .. deprecated:: 2.0
+
+ The new security policy has removed the concept of principals. See
+ :ref:`upgrading_auth` for more information.
A property which returns the list of 'effective' :term:`principal`
identifiers for this request. This list typically includes the