| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Server.Handlers.AuthHandlers
Documentation
type AuthAPI = ("login" :> (ReqBody '[JSON] UserLoginData :> Post '[JSON] (Headers '[Header "Set-Cookie" SetCookie, Header "Set-Cookie" SetCookie] NoContent))) :<|> ("logout" :> Get '[JSON] (Headers '[Header "Set-Cookie" SetCookie, Header "Set-Cookie" SetCookie] NoContent)) Source #
authServer :: CookieSettings -> JWTSettings -> Server AuthAPI Source #