happstack-authenticate-0.9.4: Happstack Authentication Library

Safe HaskellNone

Happstack.Auth.Core.Auth

Synopsis

Documentation

newtype UserName Source

NOTE: The Eq and Ord instances are 'case-insensitive'. They apply toCaseFold before comparing.

Constructors

UserName 

Fields

unUserName :: Text
 

userPassErrorString :: UserPassError -> StringSource

return a user-friendly error message string for an AddAuthError

mkHashedPassSource

Arguments

:: Text

password in plain text

-> IO HashedPass

salted and hashed

hash a password string

genAuthToken :: MonadIO m => Maybe AuthId -> AuthMethod -> Int -> m AuthTokenSource

generate an new authentication token