git.iko.soy/typeable/servant
on master help sign in
Explicitly state that we're adding a dependency here
160cda2JoeMShanahan
doc/tutorial/Authentication.lhs+1−1
@@ -281,7 +281,7 @@ lookupAccount key = case Map.lookup key database of
281For generalized authentication, servant exposes the `AuthHandler` type,
281For generalized authentication, servant exposes the `AuthHandler` type,
282which is used to wrap the `Request -> Handler user` logic. Let's
282which is used to wrap the `Request -> Handler user` logic. Let's
283create a value of type `AuthHandler Request Account` using the above `lookupAccount`
283create a value of type `AuthHandler Request Account` using the above `lookupAccount`
284−method:
284+method (note: we depend upon `cookie`'s `parseCookies` for this):
285
285
286```haskell
286```haskell
287import Web.Cookie (parseCookies)
287import Web.Cookie (parseCookies)