| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Servant.Server.Auth.Token.Persistent.Schema
- data UserImpl = UserImpl {
- userImplLogin :: !Login
- userImplPassword :: !Password
- userImplEmail :: !Email
- type UserImplId = Key UserImpl
- data UserPerm = UserPerm {
- userPermUser :: !(Key UserImpl)
- userPermPermission :: !Permission
- type UserPermId = Key UserPerm
- data AuthToken = AuthToken {
- authTokenValue :: !SimpleToken
- authTokenUser :: !(Key UserImpl)
- authTokenExpire :: !UTCTime
- type AuthTokenId = Key AuthToken
- data UserRestore = UserRestore {}
- type UserRestoreId = Key UserRestore
- data UserSingleUseCode = UserSingleUseCode {}
- type UserSingleUseCodeId = Key UserSingleUseCode
- data AuthUserGroup = AuthUserGroup {
- authUserGroupName :: !Text
- authUserGroupParent :: !(Maybe (Key AuthUserGroup))
- type AuthUserGroupId = Key AuthUserGroup
- data AuthUserGroupUsers = AuthUserGroupUsers {}
- type AuthUserGroupUsersId = Key AuthUserGroupUsers
- data AuthUserGroupPerms = AuthUserGroupPerms {}
- type AuthUserGroupPermsId = Key AuthUserGroupPerms
- migrateAllAuth :: Migration
- class ConvertStorage a b | a -> b, b -> a where
Documentation
Constructors
| UserImpl | |
Fields
| |
Instances
| Show UserImpl Source # | |
| Generic UserImpl Source # | |
| PersistFieldSql UserImpl Source # | |
| PersistEntity UserImpl Source # | |
| PersistField UserImpl Source # | |
| (PersistQuery backend, (~) * (PersistEntityBackend UserImpl) (BaseBackend backend)) => DeleteCascade UserImpl backend Source # | |
| ToBackendKey SqlBackend UserImpl Source # | |
| ConvertStorage UserImplId | |