Fix GADT/ADT typo

This commit is contained in:
aaron levin 2015-12-26 12:45:32 +01:00
parent 1a042772f5
commit 25d39cdeac

View file

@ -68,7 +68,7 @@ data OnUnauthenticated m responseError (policy :: AuthPolicy) errorIndex authDat
StrictUnauthenticated :: (errorIndex -> authData -> m responseError)
-> OnUnauthenticated m responseError 'Strict errorIndex authData
-- | A GADT representing the data and functions required to protect a reasource for authentication.
-- | An ADT representing the data and functions required to protect a reasource for authentication.
-- For an authenticated resource, we need to handle the scenario where authentication data is missing
-- and where authentication data is present but not valid (e.g. uesrname + password not valid).
-- m: the monad errors are retrned in. For now just IO.