Furnace framework » Furnace authentication » Authentication providers » Authentication provider protocol

Next:get-user ( username provider -- user/f )


Class description
The class of users. Instances have the following slots:
usernameThe username, used to identify the user for login purposes
realnameThe user's real name, optional
passwordThe user's password, encoded with a checksum
saltA random salt prepended to the password to ensure that two users with the same plain-text password still have different checksum output
emailThe user's e-mail address, optional
ticketUsed for password recovery
capabilitiesA sequence of capabilities; see Authentication capabilities
profileA hashtable with webapp-specific configuration
deletedA boolean indicating whether the user is active or not. This allows a user account to be deactivated without removing the user from the database
changed?A boolean indicating whether the user has changed since being retrieved from the database


TUPLE: user
username realname password salt email ticket capabilities
profile deleted changed? ;