This commit is contained in:
Markus Läll 2021-09-21 13:48:59 +03:00 committed by Gaël Deest
parent 43760caf97
commit f92d2c7ad6

View File

@ -132,7 +132,7 @@ combinator. Using `Context`, we can supply a function of type
handler. This will allow the handler to check authentication and return a `User` handler. This will allow the handler to check authentication and return a `User`
to downstream handlers if successful. to downstream handlers if successful.
In practice we wrap `BasicAuthData -> Handler` into a slightly In practice we wrap `BasicAuthData -> Handler User` into a slightly
different function to better capture the semantics of basic authentication: different function to better capture the semantics of basic authentication:
``` haskell ignore ``` haskell ignore