Manipulation of WWW authorization.
- data AuthChallenge = BasicAuthChallenge Realm
- data AuthCredential = BasicAuthCredential UserID Password
- type Realm = String
- type UserID = String
- type Password = String
Documentation
data AuthChallenge Source
Authorization challenge to be sent to client with
"WWW-Authenticate" header. See
Network.HTTP.Lucu.Resource.setWWWAuthenticate
.
data AuthCredential Source
Authorization credential to be sent by client with
"Authorization" header. See
Network.HTTP.Lucu.Resource.getAuthorization
.
UserID
is just a string which must not contain colon and any
non-ASCII letters.