on master help sign in
Bring back the comment
commitc24096be168ce702d0410e9b253066b4b4f75d08 authorJoeMShanahan <joe.shanahan@tracsis.com> dateMon 17 Jul 2017, 10:09 (9 years ago) parent400bd56
1 file changed+3
doc/tutorial/Authentication.lhs+3
doc/tutorial/Authentication.lhs+3
@@ -286,6 +286,9 @@ method:
286286```haskell
287287import Web.Cookie (parseCookies)
288288
289+--- | The auth handler wraps a function from Request -> Handler Account
290+--- we look for a Cookie in the header and the perform a token look up
291+--- on the cookie, passing it to `lookupAccount`.
289292authHandler :: AuthHandler Request Account
290293authHandler = mkAuthHandler handler
291294 where