Lucu-0.1: HTTP Daemonic LibraryContentsIndex
Network.HTTP.Lucu.Authorization
Description
Manipulation of WWW authorization.
Synopsis
data AuthChallenge = BasicAuthChallenge Realm
data AuthCredential = BasicAuthCredential UserID Password
type Realm = String
type UserID = String
type Password = String
authCredentialP :: Parser AuthCredential
Documentation
data AuthChallenge
Authorization challenge to be sent to client with "WWW-Authenticate" header. See Network.HTTP.Lucu.Resource.setWWWAuthenticate.
Constructors
BasicAuthChallenge Realm
show/hide Instances
data AuthCredential
Authorization credential to be sent by client with "Authorization" header. See Network.HTTP.Lucu.Resource.getAuthorization.
Constructors
BasicAuthCredential UserID Password
show/hide Instances
type Realm = String
Realm is just a string which must not contain any non-ASCII letters.
type UserID = String
UserID is just a string which must not contain colon and any non-ASCII letters.
type Password = String
Password is just a string which must not contain any non-ASCII letters.
authCredentialP :: Parser AuthCredential
Produced by Haddock version 2.1.0