[Checkins]
SVN: PluggableAuthService/branches/z3-events/interfaces/events.py
Add missing file
Wichert Akkerman
wichert at wiggy.net
Mon Jun 11 10:33:21 EDT 2007
Log message for revision 76610:
Add missing file
Changed:
A PluggableAuthService/branches/z3-events/interfaces/events.py
-=-
Added: PluggableAuthService/branches/z3-events/interfaces/events.py
===================================================================
--- PluggableAuthService/branches/z3-events/interfaces/events.py (rev 0)
+++ PluggableAuthService/branches/z3-events/interfaces/events.py 2007-06-11 14:33:19 UTC (rev 76610)
@@ -0,0 +1,44 @@
+from zope.interface import Attribute, Interface
+
+class IPASEvent(Interface):
+ """An event related to a PAS principal.
+ """
+
+ principal = Attribute("The subject of the event.")
+
+
+class IPrincipalCreatedEvent(IPASEvent):
+ """A new principal has been created.
+ """
+
+
+class IUserLoggedInEvent(IPASEvent):
+ """ A user logged in.
+ """
+
+
+class IUserLoggedOutEvent(IPASEvent):
+ """ A user logged out.
+ """
+
+
+class IPrincipalDeletedEvent(IPASEvent):
+ """A user has been removed.
+ """
+
+
+class ICredentialsUpdatedEvent(IPASEvent):
+ """A principal has changed her password.
+
+ Sending this event will cause a PAS user folder to trigger its active
+ credential update plugins.
+ """
+ password = Attribute('The new password')
+
+
+class IPropertiesUpdatedEvent(IPASEvent):
+ """A principals properties have been updated.
+ """
+ properties = Attribute('List of modified property ids')
+
+
Property changes on: PluggableAuthService/branches/z3-events/interfaces/events.py
___________________________________________________________________
Name: svn:eol-style
+ native
More information about the Checkins
mailing list