Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.Gitit.State
Documentation
gititstate :: IORef GititState Source #
updateGititState :: MonadIO m => (GititState -> GititState) -> m () Source #
queryGititState :: MonadIO m => (GititState -> a) -> m a Source #
debugMessage :: String -> GititServerPart () Source #
hashPassword :: String -> String -> String Source #
authUser :: String -> String -> GititServerPart Bool Source #
isUser :: String -> GititServerPart Bool Source #
addUser :: String -> User -> GititServerPart () Source #
adjustUser :: String -> User -> GititServerPart () Source #
delUser :: String -> GititServerPart () Source #
writeUserFile :: Config -> IO () Source #
getUser :: String -> GititServerPart (Maybe User) Source #
isSession :: MonadIO m => SessionKey -> m Bool Source #
setSession :: MonadIO m => SessionKey -> SessionData -> m () Source #
newSession :: MonadIO m => SessionData -> m SessionKey Source #
delSession :: MonadIO m => SessionKey -> m () Source #
getSession :: MonadIO m => SessionKey -> m (Maybe SessionData) Source #
getDefaultLHS :: GititServerPart Bool Source #