Remove user type for more idiomatic auth combinators

This commit is contained in:
aaron levin 2016-01-16 18:31:26 +01:00
parent 9decfee68b
commit 5cc78b435a

View file

@ -17,7 +17,7 @@ import GHC.TypeLits (Symbol)
-- In Basic Auth, username and password are base64-encoded and transmitted via
-- the @Authorization@ header. Handshakes are not required, making it
-- relatively efficient.
data BasicAuth (realm :: Symbol) (usr :: *)
data BasicAuth (realm :: Symbol)
deriving (Typeable)
-- | A generalized Authentication combinator.