Network.HTTP.Lucu.Authentication
Description
An internal module for HTTP authentication.
- data AuthChallenge = BasicAuthChallenge !Realm
- data AuthCredential = BasicAuthCredential !UserID !Password
- type Realm = Ascii
- type UserID = Ascii
- type Password = Ascii
Documentation
data AuthChallenge Source
Authentication challenge to be sent to clients with
"WWW-Authenticate" header field. See
Network.HTTP.Lucu.setWWWAuthenticate.
Constructors
| BasicAuthChallenge !Realm |
Instances
| Eq AuthChallenge | |
| ConvertSuccess AuthChallenge Ascii | |
| ConvertSuccess AuthChallenge AsciiBuilder | |
| ConvertAttempt AuthChallenge Ascii | |
| ConvertAttempt AuthChallenge AsciiBuilder |
data AuthCredential Source
Authorization credential to be sent by client with
"Authorization" header. See Network.HTTP.Lucu.getAuthorization.
Constructors
| BasicAuthCredential !UserID !Password |
Instances
| Eq AuthCredential | |
| Show AuthCredential | |
| Default (Parser AuthCredential) |