Network.HTTP.Lucu.Authorization
Description
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.
Constructors
| BasicAuthChallenge Realm |
Instances
data AuthCredential Source
Authorization credential to be sent by client with
"Authorization" header. See
Network.HTTP.Lucu.Resource.getAuthorization.
Constructors
| BasicAuthCredential UserID Password |
Instances
UserID is just a string which must not contain colon and any
non-ASCII letters.