[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - auth.py:1.5.24.1

Zachery Bir zbir@urbanape.com
Tue, 3 Jun 2003 09:20:56 -0400


Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv19481

Modified Files:
      Tag: pluggable_authentication_service-branch
	auth.py 
Log Message:
Tried to make the docstring for validate more informative

Removed setRoles() after Jim's suggestion


=== Zope3/src/zope/app/interfaces/services/auth.py 1.5 => 1.5.24.1 ===
--- Zope3/src/zope/app/interfaces/services/auth.py:1.5	Tue Feb 11 10:59:51 2003
+++ Zope3/src/zope/app/interfaces/services/auth.py	Tue Jun  3 09:20:55 2003
@@ -25,7 +25,7 @@
         """Get the login for the user."""
 
     def validate(pw):
-        """See whether the password is valid."""
+        """Confirm whether pw is the password of the user."""
 
 
 class IWriteUser(Interface):
@@ -39,12 +39,6 @@
 
     def setLogin(login):
         """Set login of User."""
-
-    def setRoles(roles):
-        """Set roles of User.
-
-        Roles should be a sequence of role ids.
-        """
 
     def setPassword(password):
         """Set password of User."""