See 
PublishedAPI for packages intended to be used by Plugin and Contrib authors, or 
browse all packages.
See also 
Developing plugins, 
Developer's Bible, 
Technical Overview
  internal package Foswiki::UI::Passwords  
UI methods for password management.
Shares a message template with Register.pm (registermessages.tmpl)
 StaticMethod resetPassword($session) 
Generates a password. Mails it to them and asks them to change it. Entry
point intended to be called from UI::run
 StaticMethod changePasswordAndOrEmail( $session ) 
Change the user's password and/or email. Details of the user and password
are passed in CGI parameters.