We dont have any Tiki Developer Documentation. We are looking to do something along these lines soon.
First I would start to look at the tiki-login module and tiki-login.php code.
Your also going to need to look at the user hash and how we use the users_users table throughout the tiki engine.
The best documentation for you here is infact a mug of coffee and the source code.