summaryrefslogtreecommitdiff
path: root/EVENTS.txt
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-11-10 14:45:19 -0500
committerEvan Prodromou <evan@status.net>2009-11-10 14:45:19 -0500
commit923fa068a684a7e3b712714cda0cb75ffa58bd78 (patch)
tree4592a2288f47f349f0fe5146dd6d1cca85c73649 /EVENTS.txt
parent7ae10c27b0725a7108b63a788affd4d07e37afdc (diff)
change credential check to work more like other events
Diffstat (limited to 'EVENTS.txt')
-rw-r--r--EVENTS.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/EVENTS.txt b/EVENTS.txt
index af686b9cd..ced130f5f 100644
--- a/EVENTS.txt
+++ b/EVENTS.txt
@@ -481,13 +481,15 @@ EndPublicXRDS: End XRDS output (right before the closing XRDS tag)
- $action: the current action
- &$xrdsoutputter - XRDSOutputter object to write to
-CheckPassword: Check a username/password
+StartCheckPassword: Check a username/password
- $nickname: The nickname to check
- $password: The password to check
-- &$authenticated: set to true to indicate authentication succeeded.
+- &$authenticatedUser: set to User object if credentials match a user.
-AutoRegister: Register a new user with the given nickname. Should insert a new User and Profile into the database.
-- $nickname: The nickname to register
+EndCheckPassword: After checking a username/password pair
+- $nickname: The nickname that was checked
+- $password: The password that was checked
+- $authenticatedUser: User object if credentials match a user, else null.
ChangePassword: Handle a password change request
- $nickname: user's nickname