Commit graph

7 commits

Author SHA1 Message Date
aaron levin
77d366c189 Fix spelling issues in auth-combinator 2015-10-01 15:26:46 +02:00
aaron levin
a1628946c1 Use new strictProtect (arguments were flipped) 2015-10-01 15:26:46 +02:00
aaron levin
b9000d000d Fix authentication example 2015-10-01 15:26:46 +02:00
Julian K. Arni
6eb7add53a stylish haskell changes
And import fix.
2015-08-18 00:07:12 +02:00
Andres Loeh
e83397a1db Fix the auth combinator example.
This change adapt the auth combinator example to the new router code.
In general, the server interpretation of user-written combinators will
be affected by the new routing code.

The change here also introduces a change in functionality: previously,
wrong authentication triggered a "hard failure", whereas we now trigger
a "soft failure", which is recoverable. For the simple example, this
does not make a lot of difference.

In general, I think having a soft failure is the right option to take
here, although we want a more general story about the relative
priorities of different error codes.
2015-06-04 13:12:21 +02:00
Julian K. Arni
92d65aaf49 -Wall fixes 2015-05-03 13:36:51 +02:00
Alp Mestanogullari
4c86c7395c add an auth combinator example 2015-04-24 14:00:57 +02:00