Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
saveAuthUser :: AuthUser -> UTCTime -> Update UserStore (Either AuthFailure AuthUser) Source
saveNewUser :: AuthUser -> UTCTime -> Update UserStore (Either AuthFailure AuthUser) Source
saveExistingUser :: AuthUser -> UserId -> UTCTime -> Update UserStore (Either AuthFailure AuthUser) Source
updateUserCache :: MonadState UserStore m => AuthUser -> UserId -> m () Source
updateLoginCache :: MonadState UserStore m => Text -> UserId -> m () Source
updateTokenCache :: MonadState UserStore m => Maybe Text -> UserId -> m () Source
data SaveAuthUser Source
newtype ByRememberToken Source
initAcidAuthManager :: AuthSettings -> SnapletLens b SessionManager -> SnapletInit b (AuthManager b) Source
removeResourceLockOnUnload :: Initializer b v () Source
removeIfExists :: FilePath -> IO () Source
getAllLogins :: AcidState UserStore -> Handler b (AuthManager v) [Text] Source