Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data SqliteJwt = SqliteJwt {}
- data User = User {}
- data LoginParams = LoginParams {}
- data AuthFailure
- data HttpError = HttpError Int String
- type H a b = Handler a SqliteJwt b
Documentation
User account User ID and login name.
If you need to store additional fields for your user accounts, persist them
in your application SQL tables and key them by userId
.
data AuthFailure Source #
Types of errors that can happen on login or new user creation.
UnknownUser | The login name does not exist. |
DuplicateLogin | The login name already exists. |
WrongPassword | Failed the password check. |