úά8     (c) Patrick Brisbin 2010as-ispbrisbin@gmail.comStablePortableNone!"&+36=BK _Interface for data type which holds user info. It's just a collection of getters and setters%Retrieve password hash from user dataa callback for setPassword#Calculate salted hash using Bcrypt.„Set password for user. This function should be used for setting passwords. It generates random salt and calculates proper hashes.XGiven a user ID and password in plaintext, validate them against the database values.sHandle the login form. First parameter is function which maps username (whatever it might be) to unique user ID.{A drop in for the getAuthId method of your YesodAuth instance which can be used if authHashDB is the only plugin in use.yPrompt for username and password, validate that against a database which holds the username and a hash of the password -Generate data base instances for a valid user Hash and SaltPasswordUser unique identifierPassword in plaint-textyour site's Auth Route gets user IDthe creds argument              yesod-auth-bcrypt-0.2.0Yesod.Auth.BCryptpersistent-2.1.5$Database.Persist.Class.PersistEntityUnique EntityField HashDBUsersiteuserPasswordHashsetSaltAndPasswordHash setPassword validateUsergetAuthIdHashDB authHashDB SiteuserIdSiteusersiteuserUsernamesiteuserPassword siteuserEmailmigrateSiteusers saltedHash postLoginRloginUniqueSiteuser SiteuserKey unSiteuserKey SiteuserEmailSiteuserPasswordSiteuserUsername$fHashDBUserSiteuser#TFCo:R:PersistEntityBackendSiteuser