serversession-backend-persistent-2.0.1: Storage backend for serversession using persistent and an RDBMS.
Safe HaskellNone
LanguageHaskell2010

Web.ServerSession.Backend.Persistent.Internal.Types

Description

Internal module exposing the guts of the package. Use at your own risk. No API stability guarantees apply.

Also exports orphan instances of PersistField{,Sql} SessionId.

Synopsis

Documentation

newtype ByteStringJ Source #

Newtype of a ByteString with JSON support via base64url.

Constructors

B 

Fields

Instances

Instances details
Eq ByteStringJ Source # 
Instance details

Defined in Web.ServerSession.Backend.Persistent.Internal.Types

Ord ByteStringJ Source # 
Instance details

Defined in Web.ServerSession.Backend.Persistent.Internal.Types

Read ByteStringJ Source # 
Instance details

Defined in Web.ServerSession.Backend.Persistent.Internal.Types

Show ByteStringJ Source # 
Instance details

Defined in Web.ServerSession.Backend.Persistent.Internal.Types

ToJSON ByteStringJ Source # 
Instance details

Defined in Web.ServerSession.Backend.Persistent.Internal.Types

FromJSON ByteStringJ Source # 
Instance details

Defined in Web.ServerSession.Backend.Persistent.Internal.Types

PersistFieldSql ByteStringJ Source # 
Instance details

Defined in Web.ServerSession.Backend.Persistent.Internal.Types

PersistField ByteStringJ Source # 
Instance details

Defined in Web.ServerSession.Backend.Persistent.Internal.Types

Orphan instances

SessionId

instance PersistField    (SessionId sess)
instance PersistFieldSql (SessionId sess)

Does not do sanity checks (DB is trusted).

Orphan instances