Portability | non-portable (not tested) |
---|---|
Stability | experimental |
Maintainer | Ganesh Sittampalam <ganesh@earth.li> |
Safe Haskell | None |
Representing HTTP Auth values in Haskell.
Right now, it contains mostly functionality needed by Browser
.
- data Authority
- = AuthBasic {
- auRealm :: String
- auUsername :: String
- auPassword :: String
- auSite :: URI
- | AuthDigest { }
- = AuthBasic {
- data Algorithm
- = AlgMD5
- | AlgMD5sess
- data Challenge
- data Qop
- = QopAuth
- | QopAuthInt
- headerToChallenge :: URI -> Header -> Maybe Challenge
- withAuthority :: Authority -> Request ty -> String
Documentation
Authority
specifies the HTTP Authentication method to use for
a given domain/realm; Basic
or Digest
.
AuthBasic | |
| |
AuthDigest | |
Algorithm
controls the digest algorithm to, MD5
or MD5Session
.