]> git.immae.eu Git - github/fretlink/hmacaroons.git/commit
Dedicated VerifierResult
authorJulien Tanguy <julien.tanguy@jhome.fr>
Mon, 5 Oct 2015 16:35:03 +0000 (18:35 +0200)
committerJulien Tanguy <julien.tanguy@jhome.fr>
Mon, 5 Oct 2015 16:36:55 +0000 (18:36 +0200)
commitbe278da91e6c97e31c5611721b1bbd593fcd99b9
treea7a0e90bc843a592e88da10fda21e63ddcaea6a8
parent27d15c27e396a98f445cdc16b2325d5838e6c734
Dedicated VerifierResult

The Maybe (Either ValidationError ()) return type was too cryptic, now there is
a real datatype for it.

The validation part is unchanged and still uses the Maybe Either type
default.nix
hmacaroons.cabal
src/Crypto/Macaroon/Verifier.hs
src/Crypto/Macaroon/Verifier/Internal.hs
test/Crypto/Macaroon/Verifier/Internal/Tests.hs