Safe Haskell | None |
---|---|
Language | Haskell2010 |
PostgREST.Auth
Documentation
data LoginAttempt Source
Constructors
NoCredentials | |
MalformedAuth | |
LoginFailed | |
LoginSuccess DbRole UserId |
Instances
resetUserId :: Tx Postgres s () Source
signInRole :: Text -> Text -> Tx Postgres s LoginAttempt Source
signInWithJWT :: Text -> Text -> LoginAttempt Source