cachix-api-0.2.1: Servant HTTP API specification for https://cachix.org
Cachix.Types.Session
Description
Module for auth session storage
newtype Session Source #
Constructors
Defined in Cachix.Types.Session
Methods
(==) :: Session -> Session -> Bool #
(/=) :: Session -> Session -> Bool #
showsPrec :: Int -> Session -> ShowS #
show :: Session -> String #
showList :: [Session] -> ShowS #
Associated Types
type Rep Session :: Type -> Type #
from :: Session -> Rep Session x #
to :: Rep Session x -> Session #
toJSON :: Session -> Value #
toEncoding :: Session -> Encoding #
toJSONList :: [Session] -> Value #
toEncodingList :: [Session] -> Encoding #
parseJSON :: Value -> Parser Session #
parseJSONList :: Value -> Parser [Session] #
decodeJWT :: ClaimsSet -> Either Text Session #
encodeJWT :: Session -> ClaimsSet #
type UserId = Integer Source #