[Checkins]
SVN: PluggableAuthService/branches/z3-events/interfaces/events.py
Add basic event types
Wichert Akkerman
wichert at wiggy.net
Sun Dec 3 08:10:20 EST 2006
Log message for revision 71381:
Add basic event types
Changed:
A PluggableAuthService/branches/z3-events/interfaces/events.py
-=-
Added: PluggableAuthService/branches/z3-events/interfaces/events.py
===================================================================
--- PluggableAuthService/branches/z3-events/interfaces/events.py 2006-12-03 13:09:52 UTC (rev 71380)
+++ PluggableAuthService/branches/z3-events/interfaces/events.py 2006-12-03 13:10:19 UTC (rev 71381)
@@ -0,0 +1,44 @@
+from zope import interface
+from zope import schema
+
+class IUserCreated(interface.Interface):
+ """A new user has been registered.
+ """
+ userid = schema.IASCIILine(
+ title=u'User id',
+ required=True)
+ login = schema.IASCIILine(
+ title=u'Login name',
+ required=True)
+
+
+class IUserDeleted(interface.Interface):
+ """A user has been removed.
+ """
+ userid = schema.IASCIILine(
+ title=u'User id',
+ required=True)
+
+
+class IUserCredentialsUpdated(interface.Interface):
+ """A user has changed her password.
+ """
+ userid = schema.IASCIILine(
+ title=u'User id',
+ required=True)
+ password = schema.IPassword(
+ title=u'The new password',
+ required=True)
+
+
+class IUserPropertiesUpdated(interface.Interface):
+ """A users properties have been updated.
+ """
+ userid = schema.IASCIILine(
+ title=u'User id',
+ required=True)
+ properties = schema.IList(
+ title=u'Modified properties',
+ required=False)
+
+
Property changes on: PluggableAuthService/branches/z3-events/interfaces/events.py
___________________________________________________________________
Name: svn:eol-style
+ native
More information about the Checkins
mailing list