Portability | non-portable |
---|---|
Stability | experimental |
Maintainer | mail@n-sch.de |
Internal representation of state data types.
- data AuthState = AuthState {}
- newtype SaltedHash = SaltedHash [Octet]
- data SessionData = SessionData {}
- newtype SessionKey = SessionKey Integer
- data Sessions a = Sessions {
- unsession :: Map SessionKey a
- data User = User {}
- type UserDB = IxSet User
- newtype UserId = UserId {}
- newtype Username = Username {}
Documentation
Add this to your Dependency-List of your application state
newtype SaltedHash Source
SaltedHash [Octet] |
data SessionData Source
SessionData | |
|
newtype SessionKey Source
Abstract session identification
Sessions | |
|
Typeable1 Sessions | |
(Serialize GetSessions, Serialize (Sessions SessionData)) => QueryEvent GetSessions (Sessions SessionData) | |
Eq a => Eq (Sessions a) | |
Data a => Data (Sessions a) | |
Read a => Read (Sessions a) | |
Show a => Show (Sessions a) | |
Version (Sessions a) | |
Serialize a[ajUm] => Serialize (Sessions a[ajUm]) |
Eq User | |
Data User | |
Ord User | |
Read User | |
Show User | |
Typeable User | |
Version User | |
Serialize User | |
Convertible User User | |
Convertible User User | |
Indexable User () | |
(Serialize AddUser, Serialize (Maybe User)) => UpdateEvent AddUser (Maybe User) | |
(Serialize AuthUser, Serialize (Maybe User)) => QueryEvent AuthUser (Maybe User) | |
(Serialize GetUserById, Serialize (Maybe User)) => QueryEvent GetUserById (Maybe User) | |
(Serialize GetUser, Serialize (Maybe User)) => QueryEvent GetUser (Maybe User) |
Abstract user identification