Add userdata to BasicAuth API type
This commit is contained in:
parent
84172c6135
commit
9966e5b304
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ import GHC.TypeLits (Symbol)
|
||||||
-- In Basic Auth, username and password are base64-encoded and transmitted via
|
-- In Basic Auth, username and password are base64-encoded and transmitted via
|
||||||
-- the @Authorization@ header. Handshakes are not required, making it
|
-- the @Authorization@ header. Handshakes are not required, making it
|
||||||
-- relatively efficient.
|
-- relatively efficient.
|
||||||
data BasicAuth (realm :: Symbol)
|
data BasicAuth (realm :: Symbol) (userData :: *)
|
||||||
deriving (Typeable)
|
deriving (Typeable)
|
||||||
|
|
||||||
-- | A simple datatype to hold data required to decorate a request
|
-- | A simple datatype to hold data required to decorate a request
|
||||||
|
|
Loading…
Reference in a new issue