Safe HaskellNone

IHP.AuthSupport.Lockable

Documentation

lock :: forall user. (?modelContext :: ModelContext, CanUpdate user, UpdateField "lockedAt" user user (Maybe UTCTime) (Maybe UTCTime)) => user -> IO user Source #

isLocked :: forall user. HasField "lockedAt" user (Maybe UTCTime) => user -> IO Bool Source #