X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=Network%2FHTTP%2FLucu%2FAuthorization.hs;h=789b5d1c971dfba93f0612e46d1fe79b86fdc9ad;hb=6126eb9cbe5b38c300d855d96d2238831e59b5dd;hp=11de19962d75b6c78817ab3df33207dcb126bc5d;hpb=b923d454928e3d01134b15d6072b6d3edf7a15ca;p=Lucu.git diff --git a/Network/HTTP/Lucu/Authorization.hs b/Network/HTTP/Lucu/Authorization.hs index 11de199..789b5d1 100644 --- a/Network/HTTP/Lucu/Authorization.hs +++ b/Network/HTTP/Lucu/Authorization.hs @@ -2,7 +2,6 @@ OverloadedStrings , UnicodeSyntax #-} -{-# OPTIONS_HADDOCK prune #-} -- |Manipulation of WWW authorization. module Network.HTTP.Lucu.Authorization @@ -13,7 +12,7 @@ module Network.HTTP.Lucu.Authorization , Password , printAuthChallenge - , authCredentialP -- private + , authCredentialP ) where import Data.Ascii (Ascii) @@ -30,7 +29,7 @@ import Prelude.Unicode -- \"WWW-Authenticate\" header. See -- 'Network.HTTP.Lucu.Resource.setWWWAuthenticate'. data AuthChallenge - = BasicAuthChallenge Realm + = BasicAuthChallenge !Realm deriving (Eq) -- |'Realm' is just a string which must not contain any non-ASCII letters. @@ -40,7 +39,7 @@ type Realm = Ascii -- \"Authorization\" header. See -- 'Network.HTTP.Lucu.Resource.getAuthorization'. data AuthCredential - = BasicAuthCredential UserID Password + = BasicAuthCredential !UserID !Password deriving (Show, Eq) -- |'UserID' is just a string which must not contain colon and any