From 0ec72c912d9624e0b4f4b06b62422d3c3b1666a6 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Mon, 11 Apr 2011 11:28:03 -0500 Subject: Updated auth api docs to use the term principals instead of groups. --- pyramid/authentication.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pyramid/authentication.py b/pyramid/authentication.py index f1123c442..46593c8a4 100644 --- a/pyramid/authentication.py +++ b/pyramid/authentication.py @@ -64,9 +64,9 @@ class RepozeWho1AuthenticationPolicy(CallbackAuthenticationPolicy): Default: ``None``. A callback passed the :mod:`repoze.who` identity and the :term:`request`, expected to return ``None`` if the user represented by the identity doesn't exist or a - sequence of group identifiers (possibly empty) if the user + sequence of principal identifiers (possibly empty) if the user does exist. If ``callback`` is None, the userid will be - assumed to exist with no groups. + assumed to exist with no principals. """ implements(IAuthenticationPolicy) @@ -147,9 +147,9 @@ class RemoteUserAuthenticationPolicy(CallbackAuthenticationPolicy): Default: ``None``. A callback passed the userid and the request, expected to return None if the userid doesn't exist or a sequence - of group identifiers (possibly empty) if the user does exist. + of principal identifiers (possibly empty) if the user does exist. If ``callback`` is None, the userid will be assumed to exist with no - groups. + principals. """ implements(IAuthenticationPolicy) @@ -181,9 +181,9 @@ class AuthTktAuthenticationPolicy(CallbackAuthenticationPolicy): Default: ``None``. A callback passed the userid and the request, expected to return ``None`` if the userid doesn't - exist or a sequence of group identifiers (possibly empty) if + exist or a sequence of principal identifiers (possibly empty) if the user does exist. If ``callback`` is ``None``, the userid - will be assumed to exist with no groups. Optional. + will be assumed to exist with no principals. Optional. ``cookie_name`` -- cgit v1.2.3