From 965dd8295fc9fade649ca61b899811492a0dd2f6 Mon Sep 17 00:00:00 2001 From: Theron Luhn Date: Tue, 17 Dec 2019 11:28:51 -0800 Subject: Remove `identity` from authenticated_userid interface. --- src/pyramid/interfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pyramid/interfaces.py b/src/pyramid/interfaces.py index c0ff317a4..af3c61503 100644 --- a/src/pyramid/interfaces.py +++ b/src/pyramid/interfaces.py @@ -483,7 +483,7 @@ class IViewMapperFactory(Interface): class ISecurityPolicy(Interface): - def authenticated_userid(request, identity): + def authenticated_userid(request): """ Return a :term:`userid` string identifying the trusted and verified user, or ``None`` if unauthenticated. """ -- cgit v1.2.3