@@ -61,12 +61,12 @@ class RepozeWho1AuthenticationPolicy(CallbackAuthenticationPolicy):
61
61
62
62
``callback``
63
63
64
- Default: ``None``. A callback passed the :mod:`repoze.who`
65
- identity and the :term:`request`, expected to return ``None``
66
- if the user represented by the identity doesn't exist or a
67
- sequence of group identifiers (possibly empty) if the user
68
- does exist. If ``callback`` is None, the userid will be
69
- assumed to exist with no groups .
64
+ Default: ``None``. A callback passed the :mod:`repoze.who` identity
65
+ and the :term:`request`, expected to return ``None`` if the user
66
+ represented by the identity doesn't exist or a sequence of principal
67
+ identifiers (possibly empty) representing groups if the user does
68
+ exist. If ``callback`` is None, the userid will be assumed to exist
69
+ with no group principals .
70
70
71
71
Objects of this class implement the interface described by
72
72
:class:`pyramid.interfaces.IAuthenticationPolicy`.
@@ -149,10 +149,10 @@ class RemoteUserAuthenticationPolicy(CallbackAuthenticationPolicy):
149
149
``callback``
150
150
151
151
Default: ``None``. A callback passed the userid and the request,
152
- expected to return None if the userid doesn't exist or a sequence
153
- of group identifiers (possibly empty) if the user does exist.
154
- If ``callback`` is None, the userid will be assumed to exist with no
155
- groups .
152
+ expected to return None if the userid doesn't exist or a sequence of
153
+ principal identifiers (possibly empty) representing groups if the
154
+ user does exist. If ``callback`` is None, the userid will be assumed
155
+ to exist with no group principals .
156
156
157
157
Objects of this class implement the interface described by
158
158
:class:`pyramid.interfaces.IAuthenticationPolicy`.
@@ -187,9 +187,9 @@ class AuthTktAuthenticationPolicy(CallbackAuthenticationPolicy):
187
187
188
188
Default: ``None``. A callback passed the userid and the
189
189
request, expected to return ``None`` if the userid doesn't
190
- exist or a sequence of group identifiers (possibly empty) if
190
+ exist or a sequence of principal identifiers (possibly empty) if
191
191
the user does exist. If ``callback`` is ``None``, the userid
192
- will be assumed to exist with no groups . Optional.
192
+ will be assumed to exist with no principals . Optional.
193
193
194
194
``cookie_name``
195
195
0 commit comments