summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2011-04-11 11:28:03 -0500
committerMichael Merickel <michael@merickel.org>2011-04-11 11:28:03 -0500
commit0ec72c912d9624e0b4f4b06b62422d3c3b1666a6 (patch)
treed7358120dfe9c3fdcc16a1e90f65c6b7ff03046b
parent6a47a0df5f530af95da2508995eb9795a80dc591 (diff)
downloadpyramid-0ec72c912d9624e0b4f4b06b62422d3c3b1666a6.tar.gz
pyramid-0ec72c912d9624e0b4f4b06b62422d3c3b1666a6.tar.bz2
pyramid-0ec72c912d9624e0b4f4b06b62422d3c3b1666a6.zip
Updated auth api docs to use the term principals instead of groups.
-rw-r--r--pyramid/authentication.py12
1 files 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``